Skip to content

Commit

Permalink
closes #12955; add testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Aug 14, 2022
1 parent 713f390 commit f102919
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 f102919

Please sign in to comment.