You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem that QuoteNode would be automatically evaluated, so when source ast contains QuoteNode, pattern matching compilation generates the same QuoteNode and inserts it into the generated ast. The QuoteNode generated by pattern compilation would then be auto evaluated and finally we got a a != QuoteNode(a), in another words, matching fails.
To solve this problem we introduce a QuotePattern to avoid auto evaluation of QuoteNode generated by patterns.
Following the knowledge given by the the first referenced issue, this technically works.
The text was updated successfully, but these errors were encountered:
JuliaLang/julia#6104 (comment)
There is a problem that QuoteNode would be automatically evaluated, so when source ast contains QuoteNode, pattern matching compilation generates the same QuoteNode and inserts it into the generated ast. The QuoteNode generated by pattern compilation would then be auto evaluated and finally we got a
a != QuoteNode(a)
, in another words, matching fails.To solve this problem we introduce a
QuotePattern
to avoid auto evaluation of QuoteNode generated by patterns.Following the knowledge given by the the first referenced issue, this technically works.
The text was updated successfully, but these errors were encountered: