dimitriv / Ziria

A domain-specific-language and compiler for low-level bitstream processing.
92 stars 18 forks source link

No warning for unintended shadowing #51

Open edsko opened 9 years ago

edsko commented 9 years ago

Consider

let x = 1
let x = 2
let comp main = ...

This will be accepted without any warning, with the second x shadowing the first. But presumably this was not intended.