Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worksheet fails silently when a method is overriden #214

Open
valtih1978 opened this issue Mar 14, 2015 · 3 comments
Open

Worksheet fails silently when a method is overriden #214

valtih1978 opened this issue Mar 14, 2015 · 3 comments

Comments

@valtih1978
Copy link

The following is won't run

object o {
    case class C() {
        def toString = "!"
    }
    val c = C                                 //> c  : o.C.type = C
}

and won't display any errors. Actually errors appear for a second and disappear immediately after save leaving me unsure if they are real or not. Everything is fine when I rename toString or add the override keyword.

Eclipce for RCP and RAP Luna Service Release 1a (4.4.1.20150109-0740 )
Scala 2.11.5 4.0.0.201501121807 org.scala-ide.scala211.feature.feature.group scala-ide.org
Scala IDE for Eclipse 4.0.0.v-2_11-201501121809-027320c org.scala-ide.sdt.feature.feature.group scala-ide.org
Scala Worksheet 0.2.6.v-2_11-201501131040-8101792 org.scalaide.worksheet.feature.feature.group Scala IDE

BTW, what is the difference between reporting here and at https://www.assembla.com/spaces/scala-ide/tickets? What is the difference between sites?

@kiritsuku
Copy link
Member

Assembla is for the main scala-ide, whereas this repo is for the issues about the worksheet.

@kiritsuku
Copy link
Member

The problem could be that you have "build automatically" enabled. See: https://groups.google.com/forum/#!topic/scala-ide-user/7ZJQeQL1Hy8

@valtih1978
Copy link
Author

Autobuild has no effect whatsoever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants