* try using endsWith * use memcmp * add cache * cleanup * better * minor * fix * improve test coverage for methods with ARC
This commit is contained in:
parent
ef4ac5a0d2
commit
8bfc396a4d
9 changed files with 45 additions and 7 deletions
|
|
@ -1,5 +1,6 @@
|
|||
discard """
|
||||
output: '''
|
||||
matrix: "--mm:arc; --mm:refc"
|
||||
output: '''
|
||||
proc Base
|
||||
proc Child
|
||||
method Base
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
discard """
|
||||
matrix: "--mm:arc; --mm:refc"
|
||||
output: '''wow2
|
||||
X 1
|
||||
X 3'''
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
discard """
|
||||
matrix: "--mm:arc; --mm:refc"
|
||||
output: '''
|
||||
wof!
|
||||
wof!
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
discard """
|
||||
matrix: "--mm:arc; --mm:refc"
|
||||
output: '''
|
||||
do nothing
|
||||
HELLO WORLD!
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
cmd: "nim c --multimethods:off $file"
|
||||
matrix: "--mm:arc --multimethods:off; --mm:refc --multimethods:off"
|
||||
output: '''base
|
||||
base
|
||||
base
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
matrix: "--mm:arc; --mm:refc"
|
||||
"""
|
||||
|
||||
type Input[T] = object
|
||||
toks: seq[T]
|
||||
index: int
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
discard """
|
||||
matrix: "--mm:arc; --mm:refc"
|
||||
"""
|
||||
|
||||
type SomeBase* = ref object of RootObj
|
||||
type SomeDerived* = ref object of SomeBase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue