DescriptionProposed kernel AST changes for annotating parameter type checks.
This proposal just describes the API to the AST classes; it does not
introduce any serialization/deserialization code, nor does it try to
represent the annotations in a compact way.
In the final implementation we will probably want to make use of
bitfields; e.g. the new fields VariableDeclaration.formalSafety and
VariableDeclaration.interfaceSafety should probably be replaced with
getters and setters that access bits in VariableDeclaration.flags.
R=dmitryas@google.com
Committed: https://github.com/dart-lang/sdk/commit/1c57563a315cca4f9ff0cde727f6574f546f4309
Patch Set 1 #
Total comments: 2
Patch Set 2 : Expand on InterfaceSafety example #Messages
Total messages: 9 (3 generated)
|