Why cannot do var x,y,z = 0 in Intellij worksheet?
Sebastian M Cheung <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <[email protected]> |
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 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.