Files
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

8 lines
189 B
Mojo

# probe: what does reading a missing Dict key raise, and how is it printed?
def main() raises:
var d = {"a": 1}
try:
print(d["b"])
except e:
print("caught:", e)