Adds idetools failure case for re"" being reported as a module.
This commit is contained in:
parent
baf4f8c9eb
commit
2f0f1d0a3f
2 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import unicode, sequtils, macros
|
||||
import unicode, sequtils, macros, re
|
||||
|
||||
proc test_enums() =
|
||||
var o: Tfile
|
||||
|
|
@ -81,3 +81,4 @@ proc testMacro() =
|
|||
err()
|
||||
|
||||
testMacro()
|
||||
let notAModule = re"(\w+)=(.*)"
|
||||
|
|
|
|||
|
|
@ -52,3 +52,8 @@ def\tskLabel\t$MODULE.findVowelPosition.loops\t\t
|
|||
# Displaced macro usage by one character.
|
||||
> idetools --track:$TESTNIM,80,2 --def $SILENT
|
||||
def\tskMacro\t$MODULE.expect\tproc \(varargs\[expr\], stmt\): stmt\t
|
||||
|
||||
# The syntax for extended raw string literals should not be returned as module
|
||||
# but as the proc re() inside the re module.
|
||||
> idetools --track:$TESTNIM,84,17 --def $SILENT
|
||||
!def\tskModule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue