mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-26 07:22:21 +00:00
11 lines
244 B
TypeScript
11 lines
244 B
TypeScript
|
function a<T=i32>(): T {
|
||
|
return 0;
|
||
|
}
|
||
|
function a<T, U=i32>(): T {
|
||
|
return 0;
|
||
|
}
|
||
|
function a<T, U=i32, V>(): T {
|
||
|
return 0;
|
||
|
}
|
||
|
// ERROR 2706: "Required type parameters may not follow optional type parameters." in optional-typeparameters.ts:3:19
|