nimhcr_0_1.nim 234 B

1234567891011121314
  1. import hotcodereloading
  2. let g_0 = 42 # lets start with the ultimate answer
  3. proc getInt*(): int = return g_0
  4. programResult = 0 # should be accessible
  5. beforeCodeReload:
  6. echo " 0: before"
  7. afterCodeReload:
  8. echo " 0: after"