IC: bugfixes (WIP) (#16836)
* minor improvements * IC: added the required logic for compilerProcs * LazySym ftw * we need this testing logic * reimplement the old way we use for module package creation * fixes a regression; don't pick module names if you can avoid it
This commit is contained in:
parent
1d1c831efa
commit
fb80d2ff85
20 changed files with 283 additions and 98 deletions
29
tests/ic/thallo.nim
Normal file
29
tests/ic/thallo.nim
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
discard """
|
||||
output: "Hello World"
|
||||
disabled: "true"
|
||||
"""
|
||||
|
||||
const str = "Hello World"
|
||||
echo str
|
||||
|
||||
# Splitters are done with this special comment:
|
||||
|
||||
#!EDIT!#
|
||||
|
||||
discard """
|
||||
output: "Hello World B"
|
||||
"""
|
||||
|
||||
const str = "Hello World"
|
||||
echo str, " B"
|
||||
|
||||
#!EDIT!#
|
||||
|
||||
discard """
|
||||
output: "Hello World C"
|
||||
"""
|
||||
|
||||
const str = "Hello World"
|
||||
var x = 7
|
||||
if 3+4 == x:
|
||||
echo str, " C"
|
||||
Loading…
Add table
Add a link
Reference in a new issue