You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it's meant to warn about duplicated import names, are you running in debug? i guess this corner case may well have been missed.
to answer the question, you could use the type qualified as fp64::fp64 instead of importing it, or you could alias either the module (#import fp64 as fp64_module) or the type (#import fp64::fp64 as fp64_t) to avoid the ambiguity when you want to use both in the same scope.
This is more of a design question.
If I have a type inside a module which is named the same as the module itself, I'd want to be able to import it twice.
The following currently doesn't work and I get the error. Only approach I have found is to name the struct differently or use pascal casing.
What would be best approach to organize otherwise?
The text was updated successfully, but these errors were encountered: