TwoVarDynamicScope only supports scopes with two variable ---------------------------------------------------------
Key: JRUBY-3713 URL: http://jira.codehaus.org/browse/JRUBY-3713 Project: JRuby Issue Type: Bug Components: Interpreter Affects Versions: JRuby 1.3 Environment: Ubuntu 9.04, Java 1.6.0_13 Reporter: Christian Seiler Happens with 1.3.0RC2 (version doesn't exist in Jira), I try to do some testing with ActiveRecord and SQLite The code is on Github: http://github.com/chrismuc/after_commit/tree/master The error happens quite before the database access (the "before_create" callback happens, but after that the crash happens) ETwoVarDynamicScope.java:64:in `getValue': java.lang.RuntimeException: TwoVarDynamicScope only supports scopes with two variables from LocalVarNode.java:116:in `interpret' from IfNode.java:106:in `interpret' from IfNode.java:114:in `interpret' from NewlineNode.java:104:in `interpret' from BlockNode.java:71:in `interpret' from EnsureNode.java:98:in `interpret' from InterpretedMethod.java:192:in `call' from CachingCallSite.java:124:in `callBlock' from CachingCallSite.java:131:in `call' from CallOneArgBlockPassNode.java:60:in `interpret' from NewlineNode.java:104:in `interpret' -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email