Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignoring INFO AS210 #21

Open
mrrobot16 opened this issue Jun 26, 2021 · 1 comment
Open

Ignoring INFO AS210 #21

mrrobot16 opened this issue Jun 26, 2021 · 1 comment

Comments

@mrrobot16
Copy link

Is it possible to ignore this message when running asb or asp ?

@willemneal
Copy link
Collaborator

willemneal commented Jul 1, 2021

Unfortunately not. Neither of those tools filter the output of the compiler.

But you can use the new NonNullable type which help with your issue. Here is an example:

if (t != null) {
   this.buffer.store<u8>(1);
   this.encode<NonNullable<T>>(<NonNullable<T>>t);
} else {
   this.buffer.store<u8>(0);
}

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

No branches or pull requests

2 participants