Skip to content

Conversation

@simeonschaub
Copy link
Member

@simeonschaub simeonschaub commented Mar 9, 2021

This should probably be allowed, since it is often useful to put a QuoteNode containing arbitrary Julia objects into an AST. Since it's quoted, I don't see any reason to disallow SSAValues and SlotNumbers here.

cc @pfitzseb

This should probably be allowed, since it is often useful to put a
`QuoteNode` containing arbitrary Julia objects into an AST. Since it's
quoted, I don't see any reason to disallow `SSAValue`s and `SlotNumber`s
here.

cc @pfitzseb
@simeonschaub simeonschaub added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Mar 9, 2021
@JeffBezanson JeffBezanson merged commit 275d3de into master Mar 9, 2021
@JeffBezanson JeffBezanson deleted the sds/quoted_ssa branch March 9, 2021 20:49
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
This should probably be allowed, since it is often useful to put a
`QuoteNode` containing arbitrary Julia objects into an AST. Since it's
quoted, I don't see any reason to disallow `SSAValue`s and `SlotNumber`s
here.
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
This should probably be allowed, since it is often useful to put a
`QuoteNode` containing arbitrary Julia objects into an AST. Since it's
quoted, I don't see any reason to disallow `SSAValue`s and `SlotNumber`s
here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:lowering Syntax lowering (compiler front end, 2nd stage)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants