Re: Why cannot do var x,y,z = 0 in Intellij worksheet?
Naftoli Gugenheim <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <CANpg8PD1xjLj4Qeswy1n_rPAmbx_LbEaDkkkvSn=nGYpH1Bd6A@mail.gmail.com> |
On Thu, Jul 23, 2015, 1:36 PM Sebastian M Cheung <[email protected]> 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;};} That isn't the way you typed it is it? ^ 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. -- 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.