Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Assignment of ivars inside try/catch statements generates internal compiler errors #14

@tarcieri

Description

@tarcieri

Example code:

https://gist.github.com/675678

Compiler error:

/Users/tony/src/reia/test.re:6: variable '__match_placeholder_0' unsafe in 'try' (line 3)
/Users/tony/src/reia/test.re:6: variable '__rebind_op_0_0' unsafe in 'try' (line 3)
/Users/tony/src/reia/test.re:6: variable '__reia_ivars_1' unsafe in 'try' (line 3)
exception error: no match of right hand side value error
  in function  reia_bytecode:compile_submodule/3
  in call from reia_bytecode:'-compile_submodules/3-lc$^0/1-0-'/3
  in call from reia_bytecode:compile_expressions/3
  in call from reia_bytecode:compile/3
  in call from reia_internal:compile/2
  in call from reia_internal:load/2
  in call from 'System':load/2
  in call from 'reia_eval#1289_684691_194000':toplevel/2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions