mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-28 03:16:32 +00:00
require errormsg to be specified before file.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
discard """
|
||||
file: "tarray.nim"
|
||||
output:
|
||||
'''
|
||||
output: '''
|
||||
[4, 5, 6]
|
||||
|
||||
[16, 25, 36]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
discard """
|
||||
errormsg: "invalid order in array constructor"
|
||||
file: "tarraycons.nim"
|
||||
line: 14
|
||||
errormsg: "invalid order in array constructor"
|
||||
"""
|
||||
|
||||
type
|
||||
@@ -19,6 +19,3 @@ const
|
||||
]
|
||||
|
||||
echo myMapping[eC][1]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
discard """
|
||||
errormsg: "type mismatch: got <ptr Hard[system.string]> but expected 'Book[system.string]'"
|
||||
file: "tarraycons_ptr_generic2.nim"
|
||||
line: 17
|
||||
errormsg: "type mismatch: got <ptr Hard[system.string]> but expected 'Book[system.string]'"
|
||||
"""
|
||||
|
||||
type
|
||||
|
||||
Reference in New Issue
Block a user