Skip to content
Discussion options

You must be logged in to vote

A crucial part of working with semantics is to only get AST through it. That means you need to call the Semantics' source() method and not the type's, otherwise you get a panic like the one you got.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nicola-gigante
Comment options

Answer selected by nicola-gigante
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants