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
74: Nonref object inheritance hints and converts to base in varargs a… r=saem a=beef331
…nd on assignment
This should make it so non ref objects can be used as one expected. `varargs[Base]` can accept `[Base, Derived, Base, Derived2]` and so forth. It also makes it so any object conversion up or down(Though down conversion is explicit so no clue why it checks) emits a hint to inform about loss of possible information. `var a: Base = Derived(field2: 300)` emits `'Derived(field2: 300)' implicitly converted to 'Base' [/home/jason/nimskull/bin/abuse.nim(26, 22)] [ImplicitObjConv]`
Co-authored-by: Jason <beefers331@gmail.com>
Env: Ubuntu 11.01.
I use Arrow Key in Nimrod REPL,I don't expected the behavior.
I think UP or Down Key is "History",And Right or Left Key is "Move Cursor".
The text was updated successfully, but these errors were encountered: