Skip to content

Commit

Permalink
closes nim-lang#12955; add testcase (nim-lang#20223)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored and capocasa committed Mar 31, 2023
1 parent 5cc5654 commit 14c79a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/stylecheck/fileinfo.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# fileinfo.nim
type FileInfo* = object
5 changes: 5 additions & 0 deletions tests/stylecheck/taccept.nim
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ template hello =
doAssert iD == "string"

hello()

# bug #12955
import os
import fileinfo
var xs: seq[fileinfo.FileInfo]

0 comments on commit 14c79a6

Please sign in to comment.