eclipse-qvto / org.eclipse.qvto

Eclipse Public License 2.0
0 stars 1 forks source link

Cyclic module import via access #823

Open eclipse-qvt-oml-bot opened 1 week ago

eclipse-qvt-oml-bot commented 1 week ago

| --- | --- | | Bugzilla Link | 444454 | | Status | NEW | | Importance | P3 normal | | Reported | Sep 18, 2014 07:02 EDT | | Modified | Sep 18, 2014 07:18 EDT | | Version | 3.4.0 | | Reporter | Christopher Gerking |

Description

The spec states that "an access import behaves as a traditional\ package import". Thus, I expect that cyclic import via access is possible between multiple modules, just as two Java packages can import each other. However, that's not supported by the compiler.

eclipse-qvt-oml-bot commented 1 week ago

By Ed Willink on Sep 18, 2014 07:18

Yes.

When accurately written, the specification declares the state after some activity rather than the procedure for performing that activity. Thus all imports are accessible. How that is achieved is an implementation detail.