mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
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:
parent
c9f5c3a79e
commit
b237cf1037
2 changed files with 4 additions and 1 deletions
|
@ -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*/
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue