Skip to content

Conversation

@bhelx
Copy link

@bhelx bhelx commented Sep 10, 2022

I'm getting this error using asc 0.21.3:

INFO AS210: Expression is never 'null'.
    :
 82 │ this.writeString(str!);
    │                  ~~~
    └─ in ~lib/assemblyscript-json/assembly/encoder.ts(82,24)

I believe it's because there is already a null check on the line above. This change fixed the problem for me.

INFO AS210: Expression is never 'null'.
    :
 82 │ this.writeString(str!);
    │                  ~~~
    └─ in ~lib/assemblyscript-json/assembly/encoder.ts(82,24)
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