Jnario icon indicating copy to clipboard operation
Jnario copied to clipboard

Full qualified names in "should be"s leads to compile errors

Open borisbrodski opened this issue 7 years ago • 1 comments

fact "reproduce error" {
  java.lang.System => java.lang.System
}

generates

  @Test
  @Named("reproduce error")
  @Order(2)
  public void _reproduceError() throws Exception {
    Assert.assertTrue("\nExpected java.lang.System => java.lang.System but"
     + "\n     java.lang.System is " + new org.hamcrest.StringDescription().appendValue(System.class).toString()
     + "\n     java.lang is " + new org.hamcrest.StringDescription().appendValue(System.System).toString()
     + "\n     java is " + new org.hamcrest.StringDescription().appendValue(System).toString() + "\n", Should.operator_doubleArrow(
      System.class, System.class));

  }

borisbrodski avatar Sep 27 '16 09:09 borisbrodski

Hi Boris, I did a fix based on that still pending branch that moves xtext version to 2.11 and ports Xtend-Richstring to back to jnario.

Now I'm not really shure where I should place my pull requests. master on this repository is atm miles away from your latest developments (noXtend_2.9-branch). Are we eventually merging stuff back to this repository's master?

to be honest, the branch this commit depends on, has no relevant changes for the fix itself. Its just that I find it not so easy to get a fully functional IDE for the old versions used in this repo's master.

Lets either bring your or @sebastianbenz master-branch to the newest state and then make our latest developments against master.

riederm avatar Apr 17 '17 19:04 riederm