Custom analysis does run (it outputs things on the console), but fetching the custom analysis fails.
(So apparently https://yellowgrass.org/issue/NaBL2/22 is not the cause.)

Stack trace:

Stratego trace:
	editor_hover_0_0
	with_1_1 <==
	nabl2_get_custom_analysis_0_0
	nabl2__get_custom_analysis_0_0

Spoofax version:

Eclipse: org.eclipse.platform.ide 4.6.2.M20161124-1400
Spoofax: org.metaborg.spoofax.eclipse 2.2.0.20170112-141246-master
System: Mac OS X x86_64 10.12.2

Example file:

module blog // >>> Solving constraints <<< Finished in 2.11s

model

  entity User {
    name : String  = "my name" 
  }

  entity Post {
    title : String  
    body : String  = title (default)
  }

  relation Post.author 1 <-> * User.posts

data

  me : User {
    posts =
      p1 {title = "First post"},
      p2 {title = "Second post" body = "Some text"}
  }

execute

  me.posts // give Posts that are authored by me

  me.posts.title // my blogpost titles

IceDust version:
https://github.com/MetaBorgCube/IceDust/tree/1fb21582c334cba2b5e0e1535d9214efa1adb48f

Submitted by Daco Harkes on 18 January 2017 at 13:56


On 18 January 2017 at 15:35 Hendrik van Antwerpen closed this issue.

Log in to post comments