titzer / virgil

A fast and lightweight native programming language
1.22k stars 42 forks source link

Parsing added #84

Closed syrusua-t closed 2 years ago

syrusua-t commented 2 years ago

Hi Dr.Titzer,

Below is a summary of work done:

For Refs and exact details of checking field decl error, I found my previous approach incorrect and feel like it would be better if resolvetype(especially the 'searching for struct first' part) is implemented before start checking field overlapping.

Let me know if there's any issue. Yunqing

titzer commented 2 years ago

I've now merged this in as a separate patch.