Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple occurence of imported type in importTypes statement #870

Open
salujajaskeerat opened this issue Jun 25, 2024 · 0 comments
Open

Comments

@salujajaskeerat
Copy link
Contributor

salujajaskeerat commented Jun 25, 2024

If we have multiple occurrences of a type in the import statement.

import org.saluja.{MyAsset,Myasset}

//case of aliasing
import org.ece.{MyAsset as m1 , MyAsset as m2}

// above would still work and alias MyAsset to m2

This would not throw an error in the concerto-core

Should we allow such behaviour??
I think it is a bit strange.

Originally posted by @salujajaskeerat in #860 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant