Entry 1935

type semicolon inference

   

Submitted by anonymous on June 22, 2009 at 2:20 a.m.
Language: Scala. Code size: 152 bytes.

//valid
var x: Int = 1;
var s: String = "abcdefg";

//also valid
var x: = 1;
var s: = "abcdefg";

//also valid
var x: = 1
var s: = "abcdefg"

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).