Releases: julia-vscode/StaticLint.jl
Releases · julia-vscode/StaticLint.jl
v4.5.0
StaticLint v4.5.0
Closed issues:
@.
macro is incorrectly flagged as missing reference (#198)
Merged pull requests:
- Check default value of kwargs matches given type (#190) (@ZacLN)
- Check for the use of literal tokens in inappropriate places. (#191) (@ZacLN)
- More kw default literals (#194) (@laborg)
- check break/continue are in a loop (#195) (@ZacLN)
- fix resolving of dot macro (#199) (@ZacLN)
- modify isexportedby (#200) (@ZacLN)
v4.4.0
StaticLint v4.4.0
Closed issues:
- Detect/warn on unused function arguments (#118)
- Should UnusedFunctionArgument ignore _ arguments? (#163)
- type FunctionStore has no field type (#165)
- "Possible method call error" at function definition (#184)
Merged pull requests:
- Add rudimentary handling for
@eval
(#164) (@ZacLN) - Fix datatype declaration check (#166) (@ZacLN)
- Fixes (#167) (@ZacLN)
- fix typo (#168) (@ZacLN)
- Run scopepass on self to hit more code (#169) (@ZacLN)
- make sure we're not using relative paths when loading files (#170) (@ZacLN)
- Explicitly resolve
new
within struct defs (#171) (@ZacLN) - remove infinite loop breaker (#172) (@ZacLN)
- Ensure we follow VarRefs to the object they point at (#173) (@ZacLN)
- Misc fixes (#174) (@ZacLN)
- Julia Package Butler Updates (#176) (@github-actions[bot])
- fix id access issue (#177) (@ZacLN)
- Bug fixes: method overloading, import/exports, add macro handler (#179) (@ZacLN)
- symbol lookup fixes (#182) (@ZacLN)
- remove some while loops, add safety trip to remaining while (#183) (@ZacLN)
- fic call check (remove surround type info from func sigs) (#185) (@ZacLN)
- check scope exists before adding a name to it (#187) (@ZacLN)
v4.3.0
StaticLint v4.3.0
v4.2.0
v4.1.0
StaticLint v4.1.0
Closed issues:
- KeyError: key LanguageServer.URI2("file:///XXX") not found (#116)
- MethodError: no method matching getindex(::Nothing, ::Int64) (#131)
- Extending imported functions with subtypes of module defined typed arguments leads to lint error (#141)
- MethodError: no method matching addmoduletoscope!(::StaticLint.Scope, ::StaticLint.Scope) (#143)
- MethodError: no method matching getindex(::Nothing, ::Int64) (#145)
- Missing reference using module with colon syntax (#147)
- MethodError: no method matching joinpath() (#154)
Merged pull requests:
- Add check for unused function arguments (#119) (@ZacLN)
- Check that file is loaded into server before using it (#120) (@davidanthoff)
- Quick fix for infinite loop when there is a cycle (#121) (@8uurg)
- some tidying (#126) (@ZacLN)
- Add a root testset (#127) (@davidanthoff)
- Add warning of redfinition of constants through type definition (#129) (@ZacLN)
- fix infer_type typo (#130) (@ZacLN)
- check getfield expr length on resolving (#132) (@ZacLN)
- fix resolve_getindex for datatypestores (#133) (@ZacLN)
- fix for SymServer exportednames store (#135) (@ZacLN)
- add generic method for iterate_over_ss_methods (#136) (@ZacLN)
- Julia Package Butler Updates (#137) (@github-actions[bot])
- Remove setpath (#138) (@davidanthoff)
- make sure the binding for inner constructors gets added to parent scope (#139) (@ZacLN)
- add scope for named tuples (#140) (@ZacLN)
- piracy fix (#142) (@ZacLN)
- Fix missing method, add a couple docs (#144) (@ZacLN)
- fix resolve_getindex (#146) (@ZacLN)
- resolve
using
of self (#148) (@ZacLN) - tidying, ensure (?) consistend use of isidentifier (#149) (@ZacLN)
- More tidying (#150) (@ZacLN)
- Enable missing ref errors for getfields (#151) (@ZacLN)
- Split toplevel and delayed passes (#152) (@ZacLN)
- check for redef of != (#155) (@ZacLN)
- Add some diagnostics (#156) (@davidanthoff)
- don't try to call joinpath on nothing (#157) (@ZacLN)
- add resolve_ref_from_module (#158) (@ZacLN)
v4.0.0
v3.1.1
StaticLint v3.1.1
Closed issues:
- BoundsError (#104)
- MethodError: no method matching iterate(::Nothing) (#106)
- MethodError: Cannot
convert
an object of type SymbolServer.PackageRef{2} to an object of type Union{CSTParser.EXPR, StaticLint.Binding, SymbolServer.SymStore} (#107) - UndefVarError: NONSTDIDENTIFIER not defined (#108)
- MethodError: Cannot
convert
an object of type SymbolServer.PackageRef{2} to an object of type Union{Binding, SymStore} (#109) - BoundsError: attempt to access 3-element Array{CSTParser.EXPR,1} at index [5] (#110)
- MethodError: Cannot
convert
an object of type SymbolServer.PackageRef{2} to an object of type Union{CSTParser.EXPR, StaticLint.Binding, SymbolServer.SymStore} (#114)
Merged pull requests:
- args access fix, #104 (#105) (@ZacLN)
- fix bindings for Flatten EXPR (#111) (@ZacLN)
- make _is_in_basedir type stable (String) (#112) (@ZacLN)
- fix use of PackageRef (#113) (@ZacLN)
- account for package refs pointing to packagerefs (#115) (@ZacLN)
- Julia Package Butler Updates (#117) (@github-actions[bot])
v3.1.0
StaticLint v3.1.0
Closed issues:
- Flag type piracy? (#50)
- better path interpretation in include statement (#68)
- Lint check for
=
in if conditional (#79) - StackOverflowError (#83)
- MethodError (#84)
- Incorrect linter warning (#88)
Merged pull requests:
- check for equality in if cond (#80) (@ZacLN)
- Miscfixes (#81) (@ZacLN)
- Fix get_path (#82) (@davidanthoff)
- misc fixes (#85) (@ZacLN)
- test type parameters in pirates check (#86) (@ZacLN)
- allow any method call for struct defs modified by macros (#87) (@ZacLN)
- Don't use a Set when not needed (#90) (@ZacLN)
- Julia Package Butler Updates (#92) (@github-actions[bot])
- Add defined operators to scope names (#94) (@ZacLN)
- Documentation (#95) (@aminya)
- Julia Package Butler Updates (#96) (@github-actions[bot])
- Julia Package Butler Updates (#97) (@github-actions[bot])
- Small fix to method searching (#101) (@ZacLN)
- Don't run resolve_ref when not needed (#102) (@ZacLN)
v3.0.1
StaticLint v3.0.1
Closed issues:
- Modules containing modules with identical names (#52)
- include and non-existing files. (#53)
- Invalid "Missing reference" due to overlapping import statements (#57)
- Linter shouldn't complain about call convention specifier in ccall (#73)
Merged pull requests:
- Add check for unused parameters (#51) (@ZacLN)
- Release 3.0.0 (#59) (@davidanthoff)
- fix #57 (#60) (@ZacLN)
- check clashing module and submodule names (#61) (@ZacLN)
- set Binding refs field type (#62) (@ZacLN)
- fix all typof module checks to include baremodules (#63) (@ZacLN)
- add support for Turing.model macro (#64) (@ZacLN)
- add type piracy check (#65) (@ZacLN)
- mark documented symbols (#66) (@ZacLN)
- Misc. fixes (#67) (@ZacLN)
- handle raw strings in include paths (#69) (@ZacLN)
- small fix to resolve_ref (#70) (@ZacLN)
- Handle NONSTDIDENTIFIERs (#71) (@ZacLN)
- Add JuMP macro handlers (#72) (@ZacLN)
- fix
stdcall
missing ref (#74) (@ZacLN) - check for empty EXPR.args (#76) (@ZacLN)
- fix compare_f_call (#77) (@ZacLN)
- Bump SymbolServer bound to 3 (#78) (@davidanthoff)
v3.0.0
v3.0.0 (2019-12-17)
Closed issues:
- Special case
include
forjoinpath
with only string and @__DIR__ arguments (#55) - warn when type parameter is unused (#49)
- The Julia Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. (#47)
- Stack overflow (#46)
- Fix tests (#44)
Merged pull requests: