mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
* make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
17 lines
250 B
Nim
17 lines
250 B
Nim
discard """
|
|
targets: "c cpp js"
|
|
"""
|
|
|
|
import std/strtabs
|
|
import std/assertions
|
|
|
|
macro m =
|
|
var t = {"name": "John"}.newStringTable
|
|
doAssert t["name"] == "John"
|
|
|
|
block:
|
|
var t = {"name": "John"}.newStringTable
|
|
doAssert t["name"] == "John"
|
|
|
|
m()
|