mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
8 lines
291 B
JavaScript
8 lines
291 B
JavaScript
/* @flow */
|
|
|
|
function f<A>(a: A): A { return a + a; } // error
|
|
function f<A,B>(a: A, b: B): A {return a + b; } // error
|
|
function f<A,B>(a: A, b: B): A {return b + a; } // error
|
|
function f<A,B>(a: A, b: B): B {return a + b; } // error
|
|
function f<A,B>(a: A, b: B): B {return b + a; } // error
|