Would cause an error in a typed language , something like incompatible type Number and type Account.
Maybe you were confused by my commnet about the network requests and different order of running code, this caused the error not to happen most of the time so it never crashed on developer machine.