mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-08 22:13:29 +00:00
* 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
30 lines
359 B
Nim
30 lines
359 B
Nim
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"
|