claro wrapper added
This commit is contained in:
parent
7e356f6ef2
commit
7659739caf
5 changed files with 2755 additions and 0 deletions
2734
lib/wrappers/claro.nim
Normal file
2734
lib/wrappers/claro.nim
Normal file
File diff suppressed because it is too large
Load diff
5
tests/accept/compile/tgenericprocvar.nim
Executable file
5
tests/accept/compile/tgenericprocvar.nim
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
proc foo[T](thing: T) =
|
||||||
|
discard thing
|
||||||
|
|
||||||
|
var a: proc (thing: int) = foo[int]
|
||||||
|
|
||||||
|
|
@ -19,6 +19,7 @@ tconstr2.nim;69
|
||||||
tcontinuexc.nim;ECcaught
|
tcontinuexc.nim;ECcaught
|
||||||
tcopy.nim;TEMP=C:\Programs\xyz\bin
|
tcopy.nim;TEMP=C:\Programs\xyz\bin
|
||||||
tcurrncy.nim;25
|
tcurrncy.nim;25
|
||||||
|
texcsub.nim;caught!
|
||||||
texplicitgeneric1.nim;Key: 12 value: 12Key: 13 value: 13 Key: A value: 12 Key: B value: 13
|
texplicitgeneric1.nim;Key: 12 value: 12Key: 13 value: 13 Key: A value: 12 Key: B value: 13
|
||||||
tfinally.nim;came here 3
|
tfinally.nim;came here 3
|
||||||
tfinally2.nim;ABCD
|
tfinally2.nim;ABCD
|
||||||
|
|
|
||||||
|
11
tests/accept/run/texcsub.nim
Normal file
11
tests/accept/run/texcsub.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Test inheritance for exception matching:
|
||||||
|
|
||||||
|
try:
|
||||||
|
raise newException(EOS, "dummy message")
|
||||||
|
except E_Base:
|
||||||
|
echo "caught!"
|
||||||
|
except:
|
||||||
|
echo "wtf!?"
|
||||||
|
|
||||||
|
#OUT caught!
|
||||||
|
|
||||||
4
tests/reject/ttypelessemptyset.nim
Executable file
4
tests/reject/ttypelessemptyset.nim
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
var q = false
|
||||||
|
discard (if q: {} else: {})
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue