compilation crash when requiring ruby_indentation module #1704

Closed
zhando opened this Issue May 4, 2012 · 3 comments

Projects

None yet

1 participant

@zhando

http://rubygems.org/gems/ruby_indentation

Happens under rbx-2.0.testing and rbx-head in 1.9 mode. Nothing is thrown under rbx-1.2.4, 1.8 mode on rbx head/testing and mri 1.9.2/3

Take out the splat in front of old_pair on line 19 and the compilation crash goes away.

https://gist.github.com/2597647

Splat operator semantics between 1.8 and 1.9?? I suspect you're going to recommend a code re-write. I'll file an issue with the author of this code in any case.

@zhando

% uname -a
Linux myhost 3.6.6-1-ARCH #1 SMP PREEMPT Mon Nov 5 11:57:22 CET 2012 x86_64 GNU/Linux
3014 % rbx -v
rubinius 2.0.0rc1 (1.9.3 release 2012-11-02 JI) [x86_64-unknown-linux-gnu]
3015 % ripl
ripl: Error while loading ~/.riplrc:
Rubinius::CompileError: Error trying to compile /home/summa/.rvm/gems/rbx-head@global/gems/ruby_indentation-0.2.0/lib/ruby_indentation.rb
/home/summa/.rvm/rubies/rbx-head/runtime/19/compiler/compiler.rbc:13:in compiler_error'
/home/summa/.rvm/rubies/rbx-head/runtime/19/compiler/compiler.rbc:92:in
compile'
kernel/delta/codeloader.rb:181:in compile_file'
kernel/delta/codeloader.rb:155:in
load_file'
kernel/common/codeloader.rb:129:in require'
kernel/common/codeloader.rb:206:in
require'
kernel/common/kernel.rb:648:in gem_original_require (require)'
/home/summa/.rvm/rubies/rbx-head/lib/rubygems/custom_require.rb:36:in
require'

@zhando zhando closed this May 7, 2013
@ghost

is this no longer an issue?

@zhando

Yes it's still an issue, but I believe it's a repeat of other issues like #1569 and #2073..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment