unison/unison-src/transcripts/fix3752.md

23 lines
233 B
Markdown
Raw Permalink Normal View History

2024-01-25 19:59:25 +03:00
```ucm:hide
scratch/main> builtins.merge
2024-01-25 19:59:25 +03:00
```
These were failing to type check before, because id was not
generalized.
```unison
foo = do
id x =
_ = 1
x
id ()
id "hello"
bar = do
id x = x
id ()
id "hello"
```