Spoofax stable 1.3 requires manual task engine setup to get the properties out of analysis.

editor-properties: x@(target, position, ast, path, project-path) -> properties
  where
	language := <language>;
	index-setup(|language, project-path);
	task-setup(|project-path)
  with
    //...

It used to be working without task engine setup.

Submitted by Daco Harkes on 3 December 2014 at 14:28

On 3 December 2014 at 14:28 Daco Harkes tagged @oskarvanrest

On 3 December 2014 at 21:53 Gabriƫl Konat commented:

It was luck that this worked without index-setup and task-setup, this always needs to be done before using the index and/or task engine.

Log in to post comments