Fix incorrect constructor name in const_native_factory_test

Change-Id: I981ee1f1bb466158ceea19d184b5943e31d78825
Reviewed-on: https://dart-review.googlesource.com/77000
Commit-Queue: Paul Berry <paulberry@google.com>
Auto-Submit: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
Paul Berry 2018-09-27 23:25:38 +00:00 committed by commit-bot@chromium.org
parent c9f5c3a79e
commit b237cf1037
2 changed files with 4 additions and 1 deletions

View file

@ -5,7 +5,7 @@
class Cake {
final name;
const Cake(this.name);
const factory BakeMeACake()
const factory Cake.BakeMeACake()
native "Cake_BakeMeACake"; /*@compile-error=unspecified*/
}

View file

@ -390,6 +390,9 @@ map_literal3_test/03: MissingCompileTimeError
[ $compiler != dart2analyzer && $fasta && !$strong ]
super_call4_test/01: MissingCompileTimeError
[ $compiler != dart2js && $compiler != dartdevk && $fasta ]
const_native_factory_test: MissingCompileTimeError # Issue 29763
[ $compiler != dart2js && $fasta ]
mixin_super_2_test/01: MissingCompileTimeError
mixin_super_2_test/03: MissingCompileTimeError