jmeaster30 / ocean

A C-like programming language (get it like sea-like like an ocean lol)
GNU General Public License v3.0
0 stars 0 forks source link

Function argument matching doesn't do the subset matching #34

Closed jmeaster30 closed 1 year ago

jmeaster30 commented 1 year ago

We set up subset matching so i8's match to i32 and i32's don't match to i8 and etc.

This is how I want to do type inference in Hydro but the function tracking does exact matches instead.

Possibly need a custom matching function to use for the hash map

jmeaster30 commented 1 year ago

Started over on Hydro. Much simpler now