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

Parent scope references instead of copies #27

Closed jmeaster30 closed 11 months ago

jmeaster30 commented 1 year ago

There is a potential issue with how I am setting the parent scope when creating new scopes.

Currently, I am making a copy of the parent scope and setting that on the subscope.

However, this could cause an issue with type constraints since we may need to update an unknown type in a higher scope with new type information we got in a subscope.

jmeaster30 commented 11 months ago

closing obsolete ocean issues