Skip to content

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jul 16, 2020

As a follow-up to #1319 (comment), this PR adds an OmittedExpression AST node with a proper range for use in diagnostics. Also makes sure that arrays of externrefs are never considered static, in turn yielding the expected diagnostic:

  ERROR AS100: Not implemented: ref.null

   var a: externref[] = [ , ];
                         ^

(Note that the code above is still invalid for other reasons)

  • I've read the contributing guidelines

@dcodeIO dcodeIO merged commit f131785 into master Jul 16, 2020
@dcodeIO dcodeIO deleted the ast-omitted branch July 16, 2020 02:19
@github-actions
Copy link

🎉 This PR is included in version 0.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant