#34 √ resolved
Charles Oliver Nutter

Compiler error running test/unit

Reported by Charles Oliver Nutter | October 11th, 2007 @ 11:39 AM | in 1.0 preview

Simple test case with one test, run using shotgun/rubinius -I stdlib

~/NetBeansProjects/rubinius $ shotgun/rubinius -I stdlib/ test.rb
An exception has occurred:
    BUG: Invalid sexp: :keys (RuntimeError)

Backtrace:
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:41
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                RsNormalizer#process_many_if at compiler/translation/normalize.rb:328
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
                RsNormalizer#process_many_if at compiler/translation/normalize.rb:324
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
    SimpleSexpProcessor(RsNormalizer)#concat_all at compiler/sexp/simple_processor.rb:75
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
    SimpleSexpProcessor(RsNormalizer)#concat_all at compiler/sexp/simple_processor.rb:72
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:62
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                   RsNormalizer#process_when at compiler/translation/normalize.rb:315
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                   RsNormalizer#process_case at compiler/translation/normalize.rb:301
                                   Array#map at kernel/core/array.rb:827
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
                                   Array#map at kernel/core/array.rb:827
                   RsNormalizer#process_case at compiler/translation/normalize.rb:301
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                RsNormalizer#process_newline at compiler/translation/normalize.rb:295
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                  RsNormalizer#process_block at compiler/translation/normalize.rb:46
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                   RsNormalizer#process_iter at compiler/translation/normalize.rb:129
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                RsNormalizer#process_newline at compiler/translation/normalize.rb:295
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                  RsNormalizer#process_block at compiler/translation/normalize.rb:46
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                  RsNormalizer#process_scope at compiler/translation/normalize.rb:269
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                   RsNormalizer#process_defn at compiler/translation/normalize.rb:96
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                RsNormalizer#process_newline at compiler/translation/normalize.rb:295
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                  RsNormalizer#process_block at compiler/translation/normalize.rb:46
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                  RsNormalizer#process_scope at compiler/translation/normalize.rb:269
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                  RsNormalizer#process_class at compiler/translation/normalize.rb:217
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                RsNormalizer#process_newline at compiler/translation/normalize.rb:295
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
                  RsNormalizer#process_block at compiler/translation/normalize.rb:46
    SimpleSexpProcessor(RsNormalizer)#process at compiler/sexp/simple_processor.rb:53
                        RsNormalizer#process at compiler/translation/normalize.rb:23
              CompositeSexpProcessor#process at compiler/sexp/composite_processor.rb:34
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
              CompositeSexpProcessor#process at compiler/sexp/composite_processor.rb:33
          Bytecode::Compiler#fully_normalize at compiler/bytecode/compiler.rb:238
                  Bytecode::Compiler#compile at compiler/bytecode/compiler.rb:209
        Bytecode::Compiler#compile_as_script at compiler/bytecode/compiler.rb:260
                        Compile.compile_file at kernel/core/compile.rb:15
                                   main.load at kernel/core/compile.rb:84
                                main.require at kernel/core/compile.rb:129
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
                                main.require at kernel/core/compile.rb:112
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
                                main.require at kernel/core/compile.rb:111
                             main.__script__ at stdlib//test/unit/autorunner.rb:3
                                   main.load at kernel/core/compile.rb:78
                                main.require at kernel/core/compile.rb:129
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
                                main.require at kernel/core/compile.rb:112
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
                                main.require at kernel/core/compile.rb:111
                             main.__script__ at stdlib//test/unit.rb:2
                                   main.load at kernel/core/compile.rb:78
                                main.require at kernel/core/compile.rb:129
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
                                main.require at kernel/core/compile.rb:112
                                  Array#each at kernel/core/array.rb:549
                       Integer(Fixnum)#times at kernel/core/integer.rb:14
                                  Array#each at kernel/core/array.rb:549
                                main.require at kernel/core/compile.rb:111
                             main.__script__ at test.rb:1
                                   main.load at kernel/core/compile.rb:78
                             main.__script__ at kernel/loader.rb:162

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket