Skip to content

Conversation

@Janther
Copy link
Contributor

@Janther Janther commented Oct 29, 2025

The rest of the Polymorphic nodes have no edge cases.
The affected nodes are:

  • ForStatementCondition
  • ForStatementInitialization
  • FunctionBody
  • FunctionName
  • ImportClause
  • MappingKeyType
  • Pragma
  • StringExpression
  • TupleMember
  • TypeName
  • UsingClause
  • UsingTarget
  • VariableDeclarationType
  • VersionExpression
  • VersionLiteral
  • YulAssignmentOperator
  • YulExpression
  • YulLiteral
  • YulStackAssignmentOperator
  • YulSwitchCase

in this PR there is also a cleanup removing the PolymorphicNode class and printVariant function. since they are no longer needed.

Also the type for the genericPrint function signature is cleaned up as well

@Janther Janther requested a review from fvictorio October 29, 2025 12:52
@fvictorio fvictorio mentioned this pull request Nov 8, 2025
@Janther Janther merged commit af06298 into main Nov 8, 2025
7 checks passed
@Janther Janther deleted the skip-variants branch November 8, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants