encore icon indicating copy to clipboard operation
encore copied to clipboard

Encore permits bad shadowing

Open TobiasWrigstad opened this issue 7 years ago • 1 comments

The code below should not compile because of the 2nd i shadowing the first. This code however runs fine.

for i <- [1..10] do
  for i <- [0..i] do 
    println(i)
  end
end

TobiasWrigstad avatar Mar 06 '17 15:03 TobiasWrigstad

Fix on the way.

supercooldave avatar May 11 '17 09:05 supercooldave