scala-js-fiddle icon indicating copy to clipboard operation
scala-js-fiddle copied to clipboard

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

Open oswaldo opened this issue 8 years ago • 1 comments

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

oswaldo avatar Sep 15 '16 15:09 oswaldo

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

sjrd avatar Sep 15 '16 15:09 sjrd