Eclipse: org.eclipse.platform.ide 4.6.0.I20160606-1100
Spoofax: org.metaborg.spoofax.eclipse 2.0.0
System: Linux amd64 4.4.0-34-generic

Not sure if I’m the only with this issue but Stratego imports are not working in Spoofax 2.0.0.
See the attached screenshot from analysis.str that I generated by creating a new Spoofax project. I get these errors in every Stratego file.

Submitted by Oskar van Rest on 19 August 2016 at 01:22
stratego-imports.png19 August 2016 at 01:22

On 19 August 2016 at 10:23 Gabriël Konat commented:

This is a bug in Spoofax 2.0.0 that has been fixed in nightly. A workaround you can apply in 2.0.0 is to add an explicit compile dependency to stratego in your metaborg.yaml file:

dependencies:
  compile:
  - org.metaborg:org.metaborg.meta.lang.stratego:${metaborgVersion}

On 19 August 2016 at 10:23 Gabriël Konat closed this issue.

On 19 August 2016 at 17:31 Oskar van Rest commented:

Thanks, that did the trick!

Log in to post comments