tconcept1.nim 525 B

12345678910111213
  1. SomeNumber = concept
  2. #[!]#
  3. discard """
  4. $nimsuggest --tester $file
  5. >chk $1
  6. chk;;skUnknown;;;;Hint;;???;;0;;-1;;">> (toplevel): import(dirty): tests/tconcept1.nim [Processing]";;0
  7. chk;;skUnknown;;;;Error;;$file;;1;;13;;"the \'concept\' keyword is only valid in \'type\' sections";;0
  8. chk;;skUnknown;;;;Error;;$file;;1;;13;;"invalid indentation";;0
  9. chk;;skUnknown;;;;Error;;$file;;1;;13;;"expression expected, but found \'keyword concept\'";;0
  10. chk;;skUnknown;;;;Error;;$file;;1;;0;;"\'SomeNumber\' cannot be assigned to";;0
  11. """