Chromium Code Reviews
DescriptionFactor out reporting from rules
This changes the RestrictedTypeRules to eliminate a direct dependency on CheckerReporter. Instead of logging a missing type error with the reporter directly, it now calls an optional callback. The Checker registers an appropriate callback for its errors. Currently the code generators don't log these errors. This eliminates the dependency of the code generators on the checker reporter.
BUG=
R=jmesserly@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/375f3da2bc662bd74c9ba696b3bbe9c79eab2f6c
Patch Set 1 #
Total comments: 2
Patch Set 2 : Change set/get pair to field #
Messages
Total messages: 5 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||