Skip to content

1.29.3

Latest
Compare
Choose a tag to compare
@amykyta3 amykyta3 released this 09 Jan 03:42

Updates:

  • Improve namespace collision errors to also show location of previous definition. #231, #235
  • Add option for RegNode.fields() utility to also return gaps between fields. #244
  • Node.children(), Node.signals(), Node.Registers(), RegNode.fields(), RegNode.aliases(), and FieldNode.aliases() now return lists rather than generators.
  • Significant improvements in static type hinting. #242
    • Node iterators now advertise more accurate narrowed return types.
    • Node.parent, Node.inst, and other members are more accurately typed in subclasses
    • Expected return types annotated for all built-in properties from Node.get_property()

Bugs fixed:

  • Fix internal error from compiler if parser fails to produce a parse tree. #243
  • Move Node.fields() method to be exclusively for RegNode as it is meaningless for all other node types.
  • Fix missed elaboration of signal's 'external' property. #245