Closed mmatos closed 8 years ago
BTW, the same code that I pasted here that would not run in the ecplise based runner worked just fine in Mumuki. It seems Mumuki is using an older version of Wollok than the latest stable version, so it might be related to a newer change
This got fixed in 1.4.1 by #622
Trying a simple example, I get this error:
With the the following code I'm only getting it from the test case and it works from the REPL, but trying different things I got it from the REPL as well. I honestly don't know the cause, I'm leaving code snippets of what I did to see if someone can make any sense of it:
In the wlk file
In the test file (also includes import statement and another test that uses poder() and works)
If instead of defining those 2 extra methods, I just define:
The error I get from the test case is:
wollok.lang.Exception: Error evaluating line file:/C:/Users/IBM_ADMIN/Documents/PdeP/wollok-win32.dev/workspace/Ejemplos/src/herenciaBending/herenciaBending.wlk:[11]: habilidad > 5
But if I invert those conditions like this:
The error is this one again:
.. and I get it also from the REPL: