We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def main(): map = { 0: 1, 1: 10 } map[map[0]] = 99 return map[map[0]]
Expected: 99 Actual:
thread 'main' panicked at /home/martin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bend-lang-0.2.18/src/imp/to_fun.rs:366:30: internal error: entered unreachable code stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::panicking::panic 3: bend::imp::to_fun::<impl bend::imp::Expr>::to_fun 4: bend::imp::to_fun::<impl bend::imp::Stmt>::into_fun 5: bend::imp::to_fun::<impl bend::imp::Stmt>::into_fun 6: bend::fun::parser::TermParser::parse_book 7: bend::execute_cli_mode::{{closure}} 8: bend::main note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
The text was updated successfully, but these errors were encountered:
Merge pull request #490 from HigherOrderCO/489-nested-map-setters
534e71d
#489 Map setters using map getters
imaqtkatt
Successfully merging a pull request may close this issue.
Expected: 99
Actual:
The text was updated successfully, but these errors were encountered: