Type variables mentioned in local functions should not be flexible
(cc #112)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
contract Fail =
|
||||
|
||||
entrypoint tttt() : bool * int =
|
||||
let f(x : 'a) : 'a = x
|
||||
(f(true), f(1))
|
||||
|
||||
Reference in New Issue
Block a user