Describe the bug
The compiler reports that constants local should be defined with let, but it and lambdas expression cannot automatically infer conflicts.
@Test public function foo()
Predicate<int> pred = (v) -> v mod 2 == 0
pred.isTureFor(10)
interface Predicate<T>
function isTureFor(T t) returns bool
Describe the bug The compiler reports that constants local should be defined with
let
, but it and lambdas expression cannot automatically infer conflicts.