mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-02 03:54:44 +00:00
Merge branch 'master' into newparser
This commit is contained in:
7
tests/caas/compile-suggest.txt
Normal file
7
tests/caas/compile-suggest.txt
Normal 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
|
||||
|
||||
10
tests/caas/def-def-compile.txt
Normal file
10
tests/caas/def-def-compile.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
main.nim
|
||||
> idetools --track:main.nim,5,18 --def main.nim
|
||||
strutils.toUpper
|
||||
SuccessX
|
||||
> idetools --track:main.nim,5,18 --def main.nim
|
||||
strutils.toUpper
|
||||
SuccessX
|
||||
> c
|
||||
SuccessX
|
||||
|
||||
14
tests/caas/main_dirty.nim
Normal file
14
tests/caas/main_dirty.nim
Normal 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)
|
||||
|
||||
7
tests/caas/suggest-compile.txt
Normal file
7
tests/caas/suggest-compile.txt
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user