tumtumtum / Shaolinq

ORM for .NET with full LINQ support for Postgres, Sqlite, MySql and SqlServer
Other
127 stars 19 forks source link

AsyncRewriter ambiguous namespaces test #96

Closed samcook closed 5 years ago

samcook commented 5 years ago

It's possible to have namespaces structured such that AsyncRewriter generates code that prefers the "other" namespace, resulting in either the code not compiling, or if there is a method with a matching signature, the wrong method being called.

This MR has a test demonstrating the situation.

tumtumtum commented 5 years ago

Ouch. Thanks for spotting.