Files
Nim/lib/pure
Laylie f8294ce06e Fix scanTuple undeclared identifier 'scanf' (#24759)
Without this fix, trying to use `scanTuple` in a generic proc imported
from a different module fails to compile (`undeclared identifier:
'scanf'`):

```nim
# module.nim
import std/strscans

proc scan*[T](s: string): (bool, string) =
  s.scanTuple("$+")
```

```nim
# main.nim
import ./module
 
echo scan[int]("foo")
```

Workaround is to `export scanf` in `module.nim` or `import std/strscans`
in `main.nim`.
2025-03-10 22:47:03 +08:00
..
2015-10-01 12:05:45 -07:00
2024-05-16 23:22:49 +02:00
2021-01-09 00:24:41 +01:00
2024-12-20 15:26:30 +01:00
2024-12-20 15:26:30 +01:00
2024-12-20 15:26:30 +01:00
2022-12-03 21:25:49 +08:00
2024-12-20 15:26:30 +01:00
2024-12-20 15:26:30 +01:00