mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-10 15:04:59 +00:00
13 lines
525 B
Nim
13 lines
525 B
Nim
SomeNumber = concept
|
|
|
|
#[!]#
|
|
discard """
|
|
$nimsuggest --tester $file
|
|
>chk $1
|
|
chk;;skUnknown;;;;Hint;;???;;0;;-1;;">> (toplevel): import(dirty): tests/tconcept1.nim [Processing]";;0
|
|
chk;;skUnknown;;;;Error;;$file;;1;;13;;"the \'concept\' keyword is only valid in \'type\' sections";;0
|
|
chk;;skUnknown;;;;Error;;$file;;1;;13;;"invalid indentation";;0
|
|
chk;;skUnknown;;;;Error;;$file;;1;;13;;"expression expected, but found \'keyword concept\'";;0
|
|
chk;;skUnknown;;;;Error;;$file;;1;;0;;"\'SomeNumber\' cannot be assigned to";;0
|
|
"""
|