class Main { final v:Int; function new() { v = 1; } function f() { v = 2; } }