eclipse-viatra / org.eclipse.viatra

Main components of the VIATRA framework
https://eclipse.dev/viatra
Eclipse Public License 2.0
1 stars 1 forks source link

Query specification inferrer ignores linking status parameter #151

Open ujhelyiz opened 6 months ago

ujhelyiz commented 6 months ago

While looking for an issue in the internals, we have noticed that the class org.eclipse.viatra.query.patternlanguage.emf.jvmmodel.PatternQuerySpecificationClassInferrer ignores its isPrelinkingPhase parameter, which is problematic as it could result in issues with cross-file resolutions (in pre-linking phase these references cannot be resolved), and the generation could be faster if these unnecessary steps wouldn't be attempted in that phase.