@@ -79,7 +79,7 @@ After instrumenting code, the stacktrace actually points to the call to `check m
79
79
# # A few files can be updated by calling `update` for each of their indexes
80
80
# # and after that with a single call to `compileReloadExecute` the new version
81
81
# # of the program will be compiled, reloaded, and the only thing the main module
82
- # # calls from `nimhcr_0.nim` (the procedure `getInt ` proc) is called for a result.
82
+ # # calls from `nimhcr_0.nim` (the procedure `tgetInt ` proc) is called for a result.
83
83
# #
84
84
# # This test is expected to be executed with arguments - the full nim compiler
85
85
# # command used for building it - so it can rebuild iself the same way - example:
@@ -91,7 +91,7 @@ After instrumenting code, the stacktrace actually points to the call to `check m
91
91
92
92
import os, osproc, strutils, hotcodereloading
93
93
94
- import nimhcr_0 # getInt () - the only thing we continually call from the main module
94
+ import nimhcr_0 # tgetInt () - the only thing we continually call from the main module
95
95
96
96
proc compileReloadExecute () =
97
97
# Remove the `--forceBuild` option - is there in the first place because:
@@ -121,7 +121,7 @@ proc compileReloadExecute() =
121
121
quit 1
122
122
echo " main: hasAnyModuleChanged? " , hasAnyModuleChanged ()
123
123
performCodeReload ()
124
- echo " The answer is: " , getInt ()
124
+ echo " The answer is: " , tgetInt ()
125
125
126
126
# there are 3 files and all of them start from their 1st version
127
127
var vers = [1 , 1 , 1 ]
0 commit comments