lihaoyi / scala-js-fiddle

Source code for Scala.jsFiddle
www.scala-js-fiddle.com
85 stars 62 forks source link

"error: You may not export a nested object" although there is no export related code #30

Open oswaldo opened 8 years ago

oswaldo commented 8 years ago

Hello,

I noticed the website looks completely different. It used to support gists as far as I remember (I had this one working: https://gist.github.com/oswaldo/0fe6bb55e56c3c918b4ab8780a512e93#file-speedreader-scala) With some control+space I could try updating it to a certain point: https://scalafiddle.io/sf/lXbBE4s/0 It outputs: ScalaFiddle.scala:11: error: You may not export a nested object object ScalaFiddle extends js.JSApp{ ^ Although I'm not exporting anything in my code. Any idea?

Regards, Oswaldo

sjrd commented 8 years ago

The error will make more sense if you click on "Scala ⚙" -> "Show template"