dart /
sdk /
638b4bfaffb91ae72be2c56d3d3c76bb5bd48c03 [kernel] Normalize DartTypes to 'dynamic' instead of 'null' when omitted.
For constructor bodies, we arbitrarily set the return type to 'void'.
Although there is hardly any legitimate use for the "return type" of
a constructor, this doesn't have any overhead and it simplifies the
restriction on FunctionNode.
BUG=
R=kmillikin@google.com
Review URL: https://chromereviews.googleplex.com/446827013 .
5 files changed
tree: 28025eafd13a3e6eb5ffad6841a536e7dc57ea92
- pkg/