What should OmittedTypeAnnotation.code
produce?
#55677
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
feature-macros
Implementation of the macros feature
library-macros
The experimental dart:_macros library
Today, it ends up putting the
OmittedTypeAnnotation
directly into the code.We could keep that, and possibly just change the
toString()
ofOmittedTypeAnnotation
, but that seems a bit weird.In https://dart-review.googlesource.com/c/sdk/+/365960/1 I tried to change the code object to just the string
<omitted>
, but that broke various tests - it looks like we are actually putting in the inferred type eventually through some magic smarts, at least in some scenarios. But, I don't really understand the mechanisms at play here.cc @johnniwinther
The text was updated successfully, but these errors were encountered: