julia> using StaticLint
julia> cst,hints = StaticLint.lint_string("@enum Foo x; export x", gethints=true); hints
Tuple{CSTParser.EXPR,String}[]
julia> cst,hints = StaticLint.lint_string("@enum Foo x=1; export x", gethints=true); hints
2-element Array{Tuple{CSTParser.EXPR,String},1}:
( 1:1 x, "Missing reference at offset 10")
( 1:1 x, "Missing reference at offset 22")