diff options
author | Juan M Gómez <info@jmgomez.me> | 2023-06-15 08:56:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-15 09:56:08 +0200 |
commit | d90581c677586023756ab26ffb69a64cf67db6f3 (patch) | |
tree | 738dfd71e4e36b729a9bec721d37b9aa9297bc10 /tests/objects/tillegal_recursion.nim | |
parent | 13b7e4e0e5f6edf573ee725dd52669ac5687cb5b (diff) | |
download | Nim-d90581c677586023756ab26ffb69a64cf67db6f3.tar.gz |
Allows for arbitrary ordering of inheritance in type section #6259 (#22070)
* 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>
Diffstat (limited to 'tests/objects/tillegal_recursion.nim')
-rw-r--r-- | tests/objects/tillegal_recursion.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/objects/tillegal_recursion.nim b/tests/objects/tillegal_recursion.nim index 222139101..428c2e445 100644 --- a/tests/objects/tillegal_recursion.nim +++ b/tests/objects/tillegal_recursion.nim @@ -1,5 +1,5 @@ discard """ - errormsg: "inheritance only works with non-final objects" + errormsg: "Cannot inherit from: 'Foo:ObjectType'" line: 7 """ # bug #1691 |