Open sgrekhov opened 4 years ago
According to the https://github.com/dart-lang/language/issues/734#issuecomment-565487654 calling a call method via super call is an error for now. But analyzer still accepts the following code
call
super
class A { String call() => "A.call!"; } class B extends A { String foo() => super(); // error in CFE, no error in analyzer } main() => print(B().foo());
Tested with dartanalyzer version 2.9.0-5.0.dev
dartanalyzer version 2.9.0-5.0.dev
Still no error in analyzer.
According to the https://github.com/dart-lang/language/issues/734#issuecomment-565487654 calling a
call
method viasuper
call is an error for now. But analyzer still accepts the following codeTested with
dartanalyzer version 2.9.0-5.0.dev