Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #16693: testament spec nimout too lax #16698

Merged
merged 21 commits into from
Apr 4, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
go
  • Loading branch information
ringabout committed Jan 15, 2021
commit dc5814732f61da8ea8142079b8d8e7e14a9f7aa3
16 changes: 16 additions & 0 deletions tests/pragmas/thintprocess.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
discard """
matrix: "--hint:processing"
nimout: '''
..
ringabout marked this conversation as resolved.
Show resolved Hide resolved
ringabout marked this conversation as resolved.
Show resolved Hide resolved
warn_module.nim(6, 6) Hint: 'test' is declared but not used [XDeclaredButNotUsed]
compile end
'''
"""

ringabout marked this conversation as resolved.
Show resolved Hide resolved
static:
echo "compile start"
ringabout marked this conversation as resolved.
Show resolved Hide resolved

import warn_module

static:
echo "compile end"
1 change: 0 additions & 1 deletion tests/pragmas/twarning_off.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
discard """
matrix: "--hint:processing"
nimout: '''
compile start
..
Expand Down