You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In recent builds on the master branch the wicket-scala-sample module is failing. The problem is:
[ERROR] /home/hudson/work/workspace/Wicket Stuff Core Java5 (wicket 1.5-SNAPSHOT)/jdk-1.5-parent/scala-extensions-parent/wicket-scala-sample/src/main/scala/org/wicketstuff/scala/sample/HelloWicketWorld.scala:71: error: ambiguous reference to overloaded definition,
[INFO] both method add in class FormComponent of type (org.apache.wicket.validation.IValidator[_ >: T])org.apache.wicket.markup.html.form.FormComponent[T]
[INFO] and method add in class Component of type
(org.apache.wicket.behavior.Behavior*)org.apache.wicket.Component
[INFO] match argument types (org.apache.wicket.validation.validator.EmailAddressValidator)
[INFO] add(new TextField("email").add(EmailAddressValidator.getInstance))
[INFO] ^
[ERROR] one error found
Could someone who knows Scala remove the ambiguity so that the file will compile properly?
With fa34e5d I upgraded the code to use latest Scala (2.8.1) and the respective versions for the testing libraries.
Now the compilation passes locally but the tests don't work.
I'll investigate further.
With commit b8e94ce I made a small change to the scala tests.
Now all modules and its tests in "jdk-1.5-parent" compile, run and pass on my computer. Can someone review that this was the correct way to fix the scala tests?
In recent builds on the master branch the wicket-scala-sample module is failing. The problem is:
Could someone who knows Scala remove the ambiguity so that the file will compile properly?
The full build log is here: http://wicketstuff.org/hudson/job/Wicket%20Stuff%20Core%20Java5%20%28wicket%201.5-SNAPSHOT%29/86/org.wicketstuff.scala$sample/console
The text was updated successfully, but these errors were encountered: