MichalStrehovsky / iltrim

MIT License
9 stars 1 forks source link

Handling of unresolvable references #113

Open MichalStrehovsky opened 2 years ago

MichalStrehovsky commented 2 years ago

We'll need to look at places that go up into type system from metadata - type system tends to throw if things don't resolve so we need to be crisp on where it's okay to throw. Generally, missing references are an exceptional case so I'm not too worried about the throws, but we need to have catches in place.

One of the places that we'll need to revisit is the representation of AssemblyRefs from #105 - we can't get an EcmaModule to an assembly that doesn't resolve.