Skip to content

Releases: julia-vscode/StaticLint.jl

v4.5.0

12 Jul 04:03
Compare
Choose a tag to compare

StaticLint v4.5.0

Diff since v4.4.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

13 Jun 20:21
Compare
Choose a tag to compare

StaticLint v4.4.0

Diff since v4.3.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

08 May 13:04
Compare
Choose a tag to compare

StaticLint v4.3.0

Diff since v4.2.0

v4.2.0

08 May 09:06
Compare
Choose a tag to compare

StaticLint v4.2.0

Diff since v4.1.0

Merged pull requests:

  • Add constructor for LintOptions that coalesces nothing (#153) (@non-Jedi)
  • turn checks on by default, add missingref options (#160) (@ZacLN)

v4.1.0

07 May 16:14
Compare
Choose a tag to compare

StaticLint v4.1.0

Diff since v4.0.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:

v4.0.0

14 Apr 20:02
Compare
Choose a tag to compare

StaticLint v4.0.0

Diff since v3.1.1

Merged pull requests:

v3.1.1

13 Apr 11:02
Compare
Choose a tag to compare

StaticLint v3.1.1

Diff since v3.1.0

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

01 Mar 05:02
Compare
Choose a tag to compare

StaticLint v3.1.0

Diff since v3.0.1

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

19 Jan 21:05
Compare
Choose a tag to compare

StaticLint v3.0.1

Diff since v3.0.0

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:

v3.0.0

17 Dec 20:00
v3.0.0
Compare
Choose a tag to compare

v3.0.0 (2019-12-17)

Diff since v2.0.0

Closed issues:

  • Special case include for joinpath 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: