Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Language/Classes/Getters/same_name_method_t08.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/// method with the same name. This restriction holds regardless of whether the
/// getter is defined explicitly or implicitly, or whether the getter or the
/// method are inherited or not.
///
/// @description Checks that a compile-time error is produced if a class has
/// an implicit getter and a static method with the same name.
/// @author iefremov
Expand All @@ -19,8 +20,5 @@ class C {
}

main() {
C.foo();
// ^
// [analyzer] unspecified
// [cfe] unspecified
print(C);
}
6 changes: 2 additions & 4 deletions Language/Classes/Getters/same_name_method_t09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/// method with the same name. This restriction holds regardless of whether the
/// getter is defined explicitly or implicitly, or whether the getter or the
/// method are inherited or not.
///
/// @description Checks that a compile-time error is produced if a class has
/// an explicitly declared getter and a static method with the same name.
/// @author iefremov
Expand All @@ -20,8 +21,5 @@ class C {
}

main() {
C.foo();
// ^
// [analyzer] unspecified
// [cfe] unspecified
print(C);
}
5 changes: 2 additions & 3 deletions Language/Classes/Getters/same_name_method_t12.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/// method with the same name. This restriction holds regardless of whether the
/// getter is defined explicitly or implicitly, or whether the getter or the
/// method are inherited or not.
///
/// @description Checks that a compile-time error is produced if a class has
/// an implicit static getter and a static method with the same name.
/// @author iefremov
Expand All @@ -19,7 +20,5 @@ class C {
}

main() {
C.foo();
// ^
// [cfe] unspecified
print(C);
}
6 changes: 2 additions & 4 deletions Language/Classes/Getters/static_getter_t03.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

/// @assertion It is a compile error if a class declares a static getter named
/// v and also has a non-static setter named v =.
///
/// @description Checks that a compile time error is arisen if a class has an
/// explicitly declared static getter and implicitly declared instance setter
/// with the same name.
Expand All @@ -20,8 +21,5 @@ class C {
}

main() {
C.v();
//^^^
// [analyzer] unspecified
// [cfe] unspecified
print(C);
}
5 changes: 2 additions & 3 deletions Language/Classes/Getters/static_getter_t04.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

/// @assertion It is a compile error if a class declares a static getter named
/// v and also has a non-static setter named v =.
///
/// @description Checks that a compile error is arisen if a class has an
/// implicitly declared static getter and an implicitly declared instance
/// setter with the same name.
Expand All @@ -21,7 +22,5 @@ class C {
}

main() {
C.v = 2;
// ^
// [cfe] unspecified
print(C);
}
6 changes: 2 additions & 4 deletions Language/Classes/Setters/static_setter_t07.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

/// @assertion It is a compile error if a class declares a static setter
/// named v= and also has a non-static member named v.
///
/// @description Checks that a compile error is arisen if a class has an
/// implicitly declared static setter and an instance getter with the same name.
/// @issue 24573
/// @author ngl@unipro.ru


class C {
get v => 5;
static int v = 0;
Expand All @@ -19,7 +19,5 @@ class C {
}

main() {
C.v = 2;
// ^
// [cfe] unspecified
print(C);
}
6 changes: 2 additions & 4 deletions Language/Classes/Setters/static_setter_t08.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

/// @assertion It is a compile error if a class declares a static setter
/// named v= and also has a non-static member named v.
///
/// @description Checks that a compile error is arisen if a class has an
/// implicitly declared static setter and an instance field with the same name.
/// @issue 24573
/// @author ngl@unipro.ru


class C {
static int v = 0;
// ^
Expand All @@ -20,7 +20,5 @@ class C {
}

main() {
C.v = 2;
// ^
// [cfe] unspecified
print(C);
}
6 changes: 2 additions & 4 deletions Language/Classes/Setters/static_setter_t09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

/// @assertion It is a compile error if a class declares a static setter
/// named v= and also has a non-static member named v.
///
/// @description Checks that a compile error is arisen if a class has an
/// implicitly declared static setter and an instance method with the same name.
/// @issue 24573
/// @author ngl@unipro.ru


class C {
static int v = 42;
// ^
Expand All @@ -20,7 +20,5 @@ class C {
}

main() {
C.v = 2;
// ^
// [cfe] unspecified
print(C);
}
10 changes: 2 additions & 8 deletions Language/Functions/syntax_t33.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,14 @@
/// @description Checks that returnType must be a valid identifier.
/// @author kaigorodov


class C {}

C.B f1() {}
//^^^
// [analyzer] unspecified
// [cfe] unspecified

C.!B f2() {}
//^^^^
// [analyzer] unspecified
// [cfe] unspecified

main() {
f1();
f2();
print(C);
print(f1);
}
2 changes: 0 additions & 2 deletions Language/Libraries_and_Scripts/Parts/compilation_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ var foo;

main() {
foo = 1;
// ^
// [cfe] unspecified
}
9 changes: 3 additions & 6 deletions Language/Overview/Scoping/conflicting_names_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@

var conflictingName;

conflictingName(p1) {}
//^
/**/conflictingName(p1) {}
// ^^^^^^^^^^^^^^^
// [analyzer] unspecified
// [cfe] unspecified

main() {
conflictingName = 1;
// ^
// [cfe] unspecified
conflictingName(1);
print(conflictingName);
}
10 changes: 2 additions & 8 deletions Language/Overview/Scoping/conflicting_names_t02.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
/// available in scope S if d is in the namespace induced by S or if d is
/// available in the lexically enclosing scope of S. We say that a name or
/// declaration d is in scope if d is available in the current scope.
///
/// @description Checks that it is a compile-time error if a variable and a
/// class with the same name are declared within the library scope.
/// @author msyabro


var conflictingName;

class conflictingName {}
Expand All @@ -21,11 +21,5 @@ class conflictingName {}
// [cfe] unspecified

main() {
conflictingName = 1;
// ^
// [cfe] unspecified
new conflictingName();
// ^
// [analyzer] unspecified
// [cfe] unspecified
print(conflictingName);
}
9 changes: 2 additions & 7 deletions Language/Overview/Scoping/conflicting_names_t04.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,10 @@
var conflictingName;

typedef conflictingName();
// ^
// ^^^^^^^^^^^^^^^
// [analyzer] unspecified
// [cfe] unspecified

main() {
conflictingName = 1;
// ^
// [cfe] unspecified
conflictingName func = () {};
//^
// [analyzer] unspecified
print(conflictingName);
}
8 changes: 2 additions & 6 deletions Language/Overview/Scoping/conflicting_names_t06.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@
void conflictingName() {}

class conflictingName {}
// ^
// ^^^^^^^^^^^^^^^
// [analyzer] unspecified
// [cfe] unspecified

main() {
conflictingName();
new conflictingName();
// ^
// [analyzer] unspecified
// [cfe] unspecified
print(conflictingName);
}
8 changes: 2 additions & 6 deletions Language/Overview/Scoping/conflicting_names_t09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@
class conflictingName {}

typedef conflictingName();
// ^
// ^^^^^^^^^^^^^^^
// [analyzer] unspecified
// [cfe] unspecified

main() {
new conflictingName();
// ^
// [analyzer] unspecified
// [cfe] unspecified
conflictingName func = () {};
print(conflictingName);
}
6 changes: 2 additions & 4 deletions Language/Overview/Scoping/conflicting_names_t11.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@
/// available in scope S if d is in the namespace induced by S or if d is
/// available in the lexically enclosing scope of S. We say that a name or
/// declaration d is in scope if d is available in the current scope.
///
/// @description Checks that it is a compile-time error if the library scope
/// contains two variables with the same name.
/// @author msyabro


var conflictingName;
var conflictingName;
// ^
// [analyzer] unspecified
// [cfe] unspecified

main() {
conflictingName = 42;
// ^
// [cfe] unspecified
print(conflictingName);
}
6 changes: 2 additions & 4 deletions Language/Overview/Scoping/conflicting_names_t13.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@
/// available in scope S if d is in the namespace induced by S or if d is
/// available in the lexically enclosing scope of S. We say that a name or
/// declaration d is in scope if d is available in the current scope.
///
/// @description Checks that it is a compile-time error if the library scope
/// contains two classes with the same name.
/// @author msyabro


class conflictingName {}
class conflictingName implements Map {}
// ^
// [analyzer] unspecified
// [cfe] unspecified

main() {
new conflictingName();
// ^
// [cfe] unspecified
print(conflictingName);
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ extension type ET7(int id) {
}

extension type ET8(int id) {
// ^^
// [cfe] unspecified
static void set id(int v) {}
// ^^
// [analyzer] unspecified
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class C1 extends V {
// [analyzer] unspecified
// [cfe] unspecified
C1(int id);

//^^
// [cfe] unspecified
int get id => 0;
}

Expand Down
2 changes: 0 additions & 2 deletions LanguageFeatures/Wildcards/other_declarations_A05_t33.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ extension type ET4(int id) {
}

extension type ET5(int _) {
// ^
// [cfe] unspecified
static void set _(int v) {}
// ^
// [analyzer] unspecified
Expand Down