Commit 2d367c8
[mini_types] Decouple NamedFunctionParameter from NamedType.
Previously, NamedFunctionParameter was derived from NamedType. This
avoided a tiny amount of code duplication, but the benefit was really
tiny. Decoupling the two classes simplifies the implementation of a
follow-up CL that I have in progress, which will allow the mini_types
framework to represent function types.
Change-Id: I29bff36ab76bbf344cf7204f2503b006a88a4cf8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395422
Reviewed-by: Kallen Tu <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent ca9c123 commit 2d367c8
File tree
1 file changed
+8
-2
lines changed1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
185 | 191 | | |
186 | 192 | | |
187 | 193 | | |
188 | 194 | | |
189 | | - | |
| 195 | + | |
190 | 196 | | |
191 | 197 | | |
192 | 198 | | |
| |||
0 commit comments