You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if we should issue a warning, at least for code evaluated in the Main module, perhaps only when isinteractive() (i.e. in the REPL and similar), when type piracy occurs.
This is a practice that we usually don't recommend and is an easy way for newcomers to shoot themselves in the foot with baffling error messages. See e.g. #29321, #27926, #26528, #22363, etcetera.
The text was updated successfully, but these errors were encountered:
I wonder if we should issue a warning, at least for code evaluated in the
Main
module, perhaps only whenisinteractive()
(i.e. in the REPL and similar), when type piracy occurs.This is a practice that we usually don't recommend and is an easy way for newcomers to shoot themselves in the foot with baffling error messages. See e.g. #29321, #27926, #26528, #22363, etcetera.
The text was updated successfully, but these errors were encountered: