Open arnetheduck opened 3 weeks ago
!nim c
when nimvm:
proc mytest(a: int) =
echo a
else:
template mytest(a: int) =
echo a + 42
proc xxx() =
mytest(100)
0 bytes (0 bytes)
```cpp
```
2024-06-06T20:02:12
2024-06-06T20:02:13
0 bytes (0 bytes)
```cpp
```
2024-06-06T20:02:14
2024-06-06T20:02:14
0 bytes (0 bytes)
```cpp
```
2024-06-06T20:02:15
2024-06-06T20:02:15
0 bytes (0 bytes)
```cpp
```
2024-06-06T20:02:18
2024-06-06T20:02:19
0 bytes (0 bytes)
```cpp
```
2024-06-06T20:02:22
2024-06-06T20:02:22
0 bytes (0 bytes)
```cpp
```
2024-06-06T20:02:25
2024-06-06T20:02:25
0 bytes (0 bytes)
```cpp
```
2024-06-06T20:02:28
2024-06-06T20:02:29
0 bytes (0 bytes)
```cpp
```
2024-06-06T20:02:31
2024-06-06T20:02:31
11.4.0
14.0.0
20.3
2024-06-06T20:01:37Z
1
nim c --run -d:nimDebug -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --lineTrace:off --nimcache:/home/runner/work/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
:robot: Bug found in 22 minutes
bisecting 8
commits at 0
commits per second
when nimvm
caused symbol-lookup errorref
may ref
Description
the vm symbol shouldn't be visible outside of the
when
.Nim Version
1.6, 2.0
Current Output
Expected Output
No response
Possible Solution
No response
Additional Information
No response