Skip to content

Psyc 2.5

Choose a tag to compare

@harrand harrand released this 04 Feb 23:03
· 1167 commits to master since this release
  • you can now declare functions within functions (these wont be callable elsewhere)
    • implementation: the function is still visible in the compiled binary but its name is mangled
  • implemented the 'nameof' keyword. nameof has a type operand and it yields a string literal representing the fully-qualified name of the type
  • fixed a bug where compile-time string literals are not correctly dynamicised in a direct conversion to a non-string-literal. previously you could workaround this by making a local variable for it and using that elsewhere.
    Full Changelog: 2.4...2.5