Open bradyt opened 5 years ago
At commit https://github.com/bradyt/dart-mode/commit/d59d1953034c0550a474b13ed40751160ee56c8f, the second appearances of millisecondsSinceEpoch, abs and _maxMillisecondsSinceEpoch are fontified as declared variables. They should not.
millisecondsSinceEpoch
abs
_maxMillisecondsSinceEpoch
class DateTime implements Comparable<DateTime> { DateTime._withValue(this._value, {this.isUtc}) { if (millisecondsSinceEpoch.abs() > _maxMillisecondsSinceEpoch || (millisecondsSinceEpoch.abs() == _maxMillisecondsSinceEpoch && microsecond != 0)) {} } }
Another example, from source_span package, color is not highlighted as variable but should be.
source_span
color
String message(String message, {color}); String highlight({color});
At commit https://github.com/bradyt/dart-mode/commit/d59d1953034c0550a474b13ed40751160ee56c8f, the second appearances of
millisecondsSinceEpoch
,abs
and_maxMillisecondsSinceEpoch
are fontified as declared variables. They should not.