You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ nimble --verbose test
Verifying dependencies for [email protected]
Compiling /home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/tests/test1 (from package d3) using js backend
Executing /usr/bin/nim js --noNimblePath -d:NimblePkgVersion=0.1.3 -r --path:. /home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/tests/test1
Hint: used config file '/etc/nim/nim.cfg' [Conf]
Hint: used config file '/etc/nim/config.nims' [Conf]
Hint: used config file '/home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/tests/config.nims' [Conf]
............................
/home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/src/d3/d3_axis.nim(6, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
.
/home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/src/d3/d3_format.nim(6, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
....
/home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/src/d3/d3_time_format.nim(6, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
/home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/tests/test1.nim(11, 6) template/generic instantiation of `test` from here
/home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/tests/test1.nim(12, 9) template/generic instantiation of `check` from here
/usr/lib/nim/pure/unittest.nim(646, 43) Error: type mismatch: got <int literal(5), int literal(5)>
but expected one of:
proc add(x: var cstring; y: cstring)
first type mismatch at position: 1
required type for x: var cstring
but expression '5' is of type: int literal(5)
proc add(x: var string; y: char)
first type mismatch at position: 1
required type for x: var string
but expression '5' is of type: int literal(5)
proc add(x: var string; y: cstring)
first type mismatch at position: 1
required type for x: var string
but expression '5' is of type: int literal(5)
proc add(x: var string; y: string)
first type mismatch at position: 1
required type for x: var string
but expression '5' is of type: int literal(5)
proc add[T](x: var seq[T]; y: openArray[T])
first type mismatch at position: 1
required type for x: var seq[T]
but expression '5' is of type: int literal(5)
proc add[T](x: var seq[T]; y: sink T)
first type mismatch at position: 1
required type for x: var seq[T]
but expression '5' is of type: int literal(5)
expression: add(5, 5)
Error: Execution failed with exit code 1
... Command: /usr/bin/nim js --noNimblePath -d:NimblePkgVersion=0.1.3 -r --path:. /home/moeller/git/nim-team/nim-d3/nim-d3-0.1.3/tests/test1
This was observed with
$ nim --version|head -n2
Nim Compiler Version 1.4.0 [Linux: amd64]
Compiled at 2020-11-25
The text was updated successfully, but these errors were encountered:
This was observed with
The text was updated successfully, but these errors were encountered: