mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:00:13 +01:00
fix a forgotten flipping of the parameter name and type (#643)
This commit is contained in:
@@ -296,7 +296,7 @@ call site.
|
||||
|
||||
```
|
||||
// ERROR: can't determine `U` from explicit parameters
|
||||
fn Illegal[Type:$ T, Type:$ U](x: T) -> U { ... }
|
||||
fn Illegal[T:$ Type, U:$ Type](x: T) -> U { ... }
|
||||
```
|
||||
|
||||
#### Generic type parameters
|
||||
|
||||
Reference in New Issue
Block a user