mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-28 17:41:45 +00:00
* Allows for arbitrary ordering of inheritance in type section #6259 * prevents ilegal recursion * fixes ilegal recursion. Test passes with a better message * Apply suggestions from code review --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
discard """
|
||||
errormsg: "inheritance only works with non-final objects"
|
||||
errormsg: "Cannot inherit from: 'Foo:ObjectType'"
|
||||
line: 7
|
||||
"""
|
||||
# bug #1691
|
||||
|
||||
Reference in New Issue
Block a user