fix tinvalidinout

This commit is contained in:
Zahary Karadjov 2017-05-13 16:31:44 +03:00
commit 05bfa47996
2 changed files with 4 additions and 7 deletions

View file

@ -1,10 +1,10 @@
discard """
cmd: "nim check $file"
errormsg: "`in` and `out` flags can be used only with imported types"
errormsg: "The `in` modifier can be used only with imported types"
nimout: '''
tinvalidinout.nim(14, 7) Error: `in` and `out` flags can be used only with imported types
tinvalidinout.nim(17, 9) Error: `in` and `out` flags can be used only with imported types
tinvalidinout.nim(18, 9) Error: `in` and `out` flags can be used only with imported types
tinvalidinout.nim(14, 7) Error: The `out` modifier can be used only with imported types
tinvalidinout.nim(17, 9) Error: The `in` modifier can be used only with imported types
tinvalidinout.nim(18, 9) Error: The `in` modifier can be used only with imported types
'''
"""