emacsorphanage / dart-mode

An Emacs mode for the Dart language
GNU General Public License v3.0
15 stars 2 forks source link

Generic method declaration names are fontified as variables instead of functions #89

Open bradyt opened 5 years ago

bradyt commented 5 years ago

https://www.dartlang.org/guides/language/language-tour#using-generic-methods

bradyt commented 5 years ago

For example, deepEqualsMap of the following is highlighted as a variable.

Map<K, V> deepEqualsMap<K, V>() =>
    new HashMap(equals: deepEquals, hashCode: deepHashCode);

(From yaml/lib/src/equality.dart.)