Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Having this slightly strange syntax highlighting with constructors, although it might be intentional.

Static variables set to functions are highlighted like functions, while ones set to methods are highlighted like instance variables. Also arguments and variables inside sub-functions get highlighted the same as the constructor’s arguments if they share the same name.

Nothing major, I just figure it’s worth reporting.

Also are binary literals meant to be supported? I assume not, since they don’t do any highlighting and display an error in the sidebar right now

  • The rules are that instance and constructor variables initialized with a function will be highlighted as a function, though I could extend that to method() call as well.
  • Local variables from different “depth” levels fight with each other, it’s a broader issue that’s hard to address.
  • I apparently forgot about binary literals while adding support for 1_000