mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-03 20:44:46 +00:00
require errormsg to be specified before file.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
discard """
|
||||
errormsg: "\'method\' needs a parameter that has an object type"
|
||||
file: "tmethod.nim"
|
||||
line: 7
|
||||
errormsg: "\'method\' needs a parameter that has an object type"
|
||||
"""
|
||||
|
||||
method m(i: int): int =
|
||||
|
||||
Reference in New Issue
Block a user