-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cfe] Place return type into parameter scope in TypeBuilderComputer
Closes flutter/flutter#143689 Change-Id: Icf2a7631134fa31ef50c0feba5099870aaf2d3b6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355401 Reviewed-by: Jens Johansen <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
- Loading branch information
1 parent
a257981
commit 9ba8663
Showing
13 changed files
with
109 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...estcases/general/with_dependencies/typedef_from_dill/typedef_from_dill.dart.strong.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
library; | ||
import self as self; | ||
import "dart:core" as core; | ||
|
||
import "org-dartlang-testcase:///typedef_from_dill_lib.dart"; | ||
|
||
typedef Bar = <R extends core::Object? = dynamic>(() → R%) → R%; | ||
static method main() → void { | ||
core::print("hello"); | ||
} | ||
|
||
library; | ||
import self as self2; | ||
import "dart:core" as core; | ||
|
||
typedef Foo = <R extends core::Object? = dynamic>(() → R%) → R%; |
16 changes: 16 additions & 0 deletions
16
...eral/with_dependencies/typedef_from_dill/typedef_from_dill.dart.strong.transformed.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
library; | ||
import self as self; | ||
import "dart:core" as core; | ||
|
||
import "org-dartlang-testcase:///typedef_from_dill_lib.dart"; | ||
|
||
typedef Bar = <R extends core::Object? = dynamic>(() → R%) → R%; | ||
static method main() → void { | ||
core::print("hello"); | ||
} | ||
|
||
library; | ||
import self as self2; | ||
import "dart:core" as core; | ||
|
||
typedef Foo = <R extends core::Object? = dynamic>(() → R%) → R%; |
16 changes: 16 additions & 0 deletions
16
.../testcases/general/with_dependencies/typedef_from_dill/typedef_from_dill.dart.weak.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
library; | ||
import self as self; | ||
import "dart:core" as core; | ||
|
||
import "org-dartlang-testcase:///typedef_from_dill_lib.dart"; | ||
|
||
typedef Bar = <R extends core::Object? = dynamic>(() → R%) → R%; | ||
static method main() → void { | ||
core::print("hello"); | ||
} | ||
|
||
library; | ||
import self as self2; | ||
import "dart:core" as core; | ||
|
||
typedef Foo = <R extends core::Object? = dynamic>(() → R%) → R%; |
10 changes: 10 additions & 0 deletions
10
...es/general/with_dependencies/typedef_from_dill/typedef_from_dill.dart.weak.modular.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
library; | ||
import self as self; | ||
import "dart:core" as core; | ||
|
||
import "org-dartlang-testcase:///typedef_from_dill_lib.dart"; | ||
|
||
typedef Bar = <R extends core::Object? = dynamic>(() → R%) → R%; | ||
static method main() → void { | ||
core::print("hello"); | ||
} |
15 changes: 15 additions & 0 deletions
15
...es/general/with_dependencies/typedef_from_dill/typedef_from_dill.dart.weak.outline.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
library; | ||
import self as self; | ||
import "dart:core" as core; | ||
|
||
import "org-dartlang-testcase:///typedef_from_dill_lib.dart"; | ||
|
||
typedef Bar = <R extends core::Object? = dynamic>(() → R%) → R%; | ||
static method main() → void | ||
; | ||
|
||
library; | ||
import self as self2; | ||
import "dart:core" as core; | ||
|
||
typedef Foo = <R extends core::Object? = dynamic>(() → R%) → R%; |
16 changes: 16 additions & 0 deletions
16
...eneral/with_dependencies/typedef_from_dill/typedef_from_dill.dart.weak.transformed.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
library; | ||
import self as self; | ||
import "dart:core" as core; | ||
|
||
import "org-dartlang-testcase:///typedef_from_dill_lib.dart"; | ||
|
||
typedef Bar = <R extends core::Object? = dynamic>(() → R%) → R%; | ||
static method main() → void { | ||
core::print("hello"); | ||
} | ||
|
||
library; | ||
import self as self2; | ||
import "dart:core" as core; | ||
|
||
typedef Foo = <R extends core::Object? = dynamic>(() → R%) → R%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...t_end/testcases/incremental/reproduce_DillTypeAliasBuilder_type_crash.yaml.world.2.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
main = main::main; | ||
library from "org-dartlang-test:///lib.dart" as lib { | ||
|
||
typedef Foo = <R extends dart.core::Object? = dynamic>(() → R%) → R%; | ||
} | ||
library from "org-dartlang-test:///main.dart" as main { | ||
|
||
import "org-dartlang-test:///lib.dart"; | ||
|
||
typedef Bar = <R extends dart.core::Object? = dynamic>(() → R%) → R%; | ||
static method main() → dynamic { | ||
dart.core::print("hello ${#C1}"); | ||
} | ||
} | ||
constants { | ||
#C1 = TypeLiteralConstant(<R extends dart.core::Object? = dynamic>(() →* R*) →* R*) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters