Make sure global types are assignable

Should fix euler20