Files
Nim/tests/js/t25043.nim
lit f4f13fbcfc fixes #25043: js tyUserTypeClass internal error (#25044)
- **fixes #25043: `internal error: genTypeInfo(tyUserTypeClassInst)`**
- **chore(test): for 25043**

(cherry picked from commit 7e2df41850)
2025-07-17 13:39:41 +02:00

16 lines
312 B
Nim

discard """
action: "compile"
"""
proc audit*(event: string, args: varargs[string]) = discard
# args is `varargs[Any]` in real world code
type PathLike[T] = concept self
$self is T # a simplified definition
proc utime[T](path: PathLike[T]) =
audit("os.utime", $path)
when isMainModule:
utime("sad")