mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
fixes a test case
This commit is contained in:
@@ -463,5 +463,7 @@ block misc_issues:
|
||||
|
||||
proc sayHello(c: Thing) = echo(c.hello)
|
||||
|
||||
var a: Thing = Cat()
|
||||
# used to be 'var a: Thing = Cat()' but that's not valid Nim code
|
||||
# anyway and will be an error soon.
|
||||
var a: Cat = Cat()
|
||||
a.sayHello()
|
||||
|
||||
Reference in New Issue
Block a user