Skip to content

0.555

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Dec 18:20
59ae47d

Analysis changes

  • Type mismatch errors now mention if unification failed in covariant or invariant context, to explain why sometimes derived class can't be converted to base class or why T can't be converted into T? and so on
  • Class type indexing is no longer an error in non-strict mode (still an error in strict mode)
  • Fixed cyclic type packs not being displayed in the type
  • Added an error when unrelated types are compared with ==/~=
  • Fixed false positive errors involving sub-type tests with a never type

Runtime changes

  • Fixed miscompilation of multiple assignment statements (Fixes #754)

Community contributions