asbuild icon indicating copy to clipboard operation
asbuild copied to clipboard

Ignoring INFO AS210

Open mrrobot16 opened this issue 4 years ago • 1 comments

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

mrrobot16 avatar Jun 26 '21 23:06 mrrobot16

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);
}

willemneal avatar Jul 01 '21 18:07 willemneal