-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Example
type
O = object
O2 = object of OCurrent Output
Error: inheritance only works with non-final objects; to enable inheritance write 'O of RootObj'
Expected Output
write '... = object of RootObj'
Possible Solution
- fix it
- let someone fix it
- ignore it
Additional Information
- old bug, have seen it long time ago already; may confuse newcomers
$ nim -v
Nim Compiler Version 1.1.1 [Linux: amd64]
Compiled at 2020-01-20
Copyright (c) 2006-2019 by Andreas Rumpf
git hash: 41555ca86f70771d71e2385629e76db092f0eabb
active boot switches: -d:release
Metadata
Metadata
Assignees
Labels
No labels