Re: Why cannot do var x,y,z = 0 in Intellij worksheet?
Simon Schäfer <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <[email protected]> |
On 23.07.2015 19:36, Sebastian M Cheung wrote:
> This is ok in .scala file:
>
> var x, y, z = 0
>
> but not in WorkSheet?
>
> Error:(1, 6) constructor cannot be instantiated to expected type;
> found : (T1, T2)
> required: Int
> var (x,y) = { 0;};}
> ^
>
> Also enabling ShowLine Numbers in WorkSheet only temporarily makes
> line numbers appear. As soon
> as clicking anywhere in WorkSheet area line numbers disappear again?
You may not believe it, but your IDE is also just software which has
bugs. I would just report it on the IntelliJ ticket tracker, not sure if
they follow this mailing list.
> --
> You received this message because you are subscribed to the Google
> Groups "scala-language" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "scala-language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.