vapourlang / vapour

Typed superset of R
http://vapour.run
Apache License 2.0
162 stars 2 forks source link

Const lock binding #15

Closed JohnCoene closed 3 weeks ago

JohnCoene commented 3 weeks ago

Should we lock the binding for declared const?

const x: int = 1

Could transpile to

x <- 1
lockBinding(x)

Tending to say not as it should not be necessary, all checks should be done in Vapour.

JohnCoene commented 3 weeks ago

This should actually not be needed, if it is it's because Vapour's checks fail elsewhere.