support suggest after compile in caas mode

This commit is contained in:
Zahary Karadjov
2013-05-05 15:12:50 +03:00
parent 5a2720e990
commit f52ea04d22
9 changed files with 72 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
main.nim
> c
SuccessX
> idetools --trackDirty:main_dirty.nim,main.nim,12,7 --suggest main.nim
skField\tx
skField\ty

14
tests/caas/main_dirty.nim Normal file
View File

@@ -0,0 +1,14 @@
import imported, strutils
type
TFoo = object
x: int
y: string
proc main =
var t1 = "text"
var t2 = t1.toUpper
var foo = TFoo(x: 10, y: "test")
foo.
echo(t1 +++ t2)

View File

@@ -0,0 +1,7 @@
main.nim
> idetools --trackDirty:main_dirty.nim,main.nim,12,7 --suggest main.nim
skField\tx
skField\ty
> c
SuccessX