unison/unison-src/transcripts/fix3752.md
2024-06-25 11:11:07 -07:00

23 lines
233 B
Markdown

```ucm:hide
scratch/main> builtins.merge
```
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"
```