Skip to content

v0.0.15 - Fallthrough, Python & C++ Syntax, Bugfixes

Choose a tag to compare

@tmr232 tmr232 released this 26 Mar 12:42
· 194 commits to main since this release
652bcd2

Added

  • Python catch-all cases in match statements are now detected.
    When a catch-all is found the "no-match-found" edge is removed,
    and cases after the catch-all are removed as dead code.
  • C++ learned co_yield and co_return
  • Python learned assert

Fixed

  • Comment-tests now fail if an unsupported test type is present instead of passing silently.
  • Python match statements no longer break when a comment is present at their top-level
  • throw and raise statements now cause finally block duplication like return statements.

Changed

  • In flat-switch mode, fallthrough now goes to the case-node, not the consequence-node.
    This produces cleaner, more readable graphs even if it is less correct.