You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some dulication here which will eventually go away with the
coercion site refactor which is still a WIP. Here we update the type rules
so that we allow ADT's and tuples to unify and thus fulfill the type
inference rules.
Addresses #1447
When we have generic unit-structs there are no fields to unify the generic.
This adds a case to ensure we iterate and check these. We might end up
making it always do this for all structs always.
Addresses #1447
1425: Cleanup frontend entrypoint r=CohenArthur a=CohenArthur
This removes a lot of code that was simply ported from the Go frontend, and forbids the usage of multiple input files.
Addresses #1115
1451: Fix failiure to type inference on unit-structs r=philberty a=philberty
This patch set adds fixes to ensure we can type inference generic unit-structs.
Fixes#1447
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
I tried this code:
I expected to see this happen: Compiles
Instead, this happened:
Meta
The text was updated successfully, but these errors were encountered: