Skip to content

Conversation

CountBleck
Copy link
Member

Changes proposed in this pull request:
⯈ Fix stringified nullable reference types
⯈ Report upon usage of reference types in fieldd

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

The extra } at the end is clearly a mistake from writing that template
literal.
Since reference types can't be written to linear memory, they don't have
proper byte sizes, which triggers an assert. Instead, the compiler
should signal its lack of support for this feature.

Fixes AssemblyScript#2726.
@CountBleck CountBleck requested a review from dcodeIO August 13, 2023 08:01
@dcodeIO dcodeIO merged commit 321ed3d into AssemblyScript:main Aug 13, 2023
@CountBleck CountBleck deleted the no-externref-in-fields branch August 15, 2023 06:35
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.

2 participants