Abnaxos / meldioc

A prototype of an IoC (Inversion of Control) library for Java
MIT License
5 stars 1 forks source link

Also consider exceptions when mounting #63

Closed Abnaxos closed 3 years ago

Abnaxos commented 4 years ago

See MountsSpec::"Inconsistent throws clause in mounts causes a compiler error":

The configuration declares a provision that doesn't throw any exception. It mounts a provision that throws IOException. The generated class correctly inherits this and declares the mounted provision throws IOException, which is illegal and causes a compiler error in the generated code.

Abnaxos commented 4 years ago

This makes a nice fix package with #68.