the test suite is mostly green again
This commit is contained in:
parent
84806e6a61
commit
72f2a6e275
19 changed files with 46 additions and 67 deletions
|
|
@ -26,13 +26,13 @@ echo(ha)
|
|||
|
||||
|
||||
# Test identifier generation:
|
||||
template prefix(name: expr): expr = `"hu" name`
|
||||
template prefix(name: expr): expr {.immediate.} = `"hu" name`
|
||||
|
||||
var `hu "XYZ"` = "yay"
|
||||
|
||||
echo prefix(XYZ)
|
||||
|
||||
template typedef(name: expr, typ: typeDesc) =
|
||||
template typedef(name: expr, typ: typeDesc) {.immediate.} =
|
||||
type
|
||||
`T name`* = typ
|
||||
`P name`* = ref `T name`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue