JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
85 stars 3 forks source link

Expressions in fstrings are not type checked #178

Closed JSAbrahams closed 4 years ago

JSAbrahams commented 4 years ago

Description of Bug

Expressions in (f)strings are not type-checked

How to Reproduce

def my_val: Int <- 100

# the below should throw a type error "my_vall is undefined"
print "my_val is {my_vall}"

Expected behavior

Expressions in strings should be type-checked.