Commit graph

2 commits

Author SHA1 Message Date
Nathan Shively-Sanders 70d8def398 Add test that infers 'number' from pattern 2016-05-17 09:33:55 -07:00
Nathan Shively-Sanders ae4a983c59 Use binding pattern for type inference result {}
The binding pattern provides additional information when the contextual
type is not found and would otherwise fix a type parameter to `{}`.
2016-05-16 16:09:36 -07:00