OlivierBlanvillain / monadic-html

Tiny DOM binding library for Scala.js
https://olivierblanvillain.github.io/monadic-html/examples/
MIT License
225 stars 24 forks source link

constant linker errors with monadic-html #97

Closed antonkulaga closed 6 years ago

antonkulaga commented 6 years ago

In my project https://github.com/antonkulaga/GEOmetadb-scala/tree/3770f7a6f05aa052e4d00a106779d1eb765a3e8d I am getting constant linker errors with monadic-html like:

Linker: Compute reachability: 4438219 us
Referring to non-existent method scala.xml.NodeBuffer.$$amp$plus(java.lang.Object)scala.xml.NodeBuffer
  called from group.research.aging.geometa.web.MainJS$.delayedEndpoint$group$research$aging$geometa$web$MainJS$1()scala.Unit
  called from group.research.aging.geometa.web.MainJS$delayedInit$body.apply()java.lang.Object
  called from scala.scalajs.runtime.SemanticsUtils$.scala$scalajs$runtime$SemanticsUtils$$genericCheck(scala.Int,scala.Function0,scala.Function0)scala.Unit
  called from scala.scalajs.runtime.SemanticsUtils$.arrayIndexOutOfBoundsCheck(scala.Function0,scala.Function0)scala.Unit
  called from java.lang.System$.checkIndices$1(scala.Int,scala.Int,scala.Int,scala.Int,scala.Int)scala.Unit
  called from java.lang.System$.copyRef$1([java.lang.Object,[java.lang.Object,scala.Int,scala.Int,scala.Int,scala.Boolean)scala.Unit
  called from java.lang.System$.arraycopy(java.lang.Object,scala.Int,java.lang.Object,scala.Int,scala.Int)scala.Unit
  called from scala.collection.immutable.VectorPointer.copyOf([java.lang.Object)[java.lang.Object
  called from scala.collection.immutable.Vector.copyOf([java.lang.Object)[java.lang.Object
  called from scala.collection.immutable.VectorPointer.stabilize(scala.Int)scala.Unit
  called from scala.collection.immutable.VectorIterator.stabilize(scala.Int)scala.Unit
  called from scala.collection.immutable.Vector.initIterator(scala.collection.immutable.VectorIterator)scala.Unit
  called from scala.collection.immutable.Vector.iterator()scala.collection.immutable.VectorIterator
  called from scala.collection.immutable.Vector.iterator()scala.collection.Iterator
  called from scala.collection.IterableLike.foreach(scala.Function1)scala.Unit
  called from scala.collection.AbstractIterable.foreach(scala.Function1)scala.Unit
  called from scala.collection.generic.TraversableForwarder.foreach(scala.Function1)scala.Unit
  called from scala.collection.mutable.ListBuffer.foreach(scala.Function1)scala.Unit
  called from scala.App.main([java.lang.String)scala.Unit
  called from group.research.aging.geometa.web.MainJS$.main([java.lang.String)scala.Unit
  called from core module module initializers

Originally I thought it was a build misconfiguration ( https://github.com/lihaoyi/mill/issues/272 ), but now I think something is wrong with monadic-html itself.

bbarker commented 6 years ago

Linking to https://github.com/lihaoyi/mill/issues/277

antonkulaga commented 6 years ago

looks like it is mill specific, closing it