Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created November 12, 2010 14:15
Show Gist options
  • Save bakkdoor/674138 to your computer and use it in GitHub Desktop.
Save bakkdoor/674138 to your computer and use it in GitHub Desktop.
bakkdoor:~/projekte/fancy/fancy-lang[bootstrap*]> rbx boot/load.rb boot/compile.fy examples/class.fy
An exception occurred running boot/load.rb
Error trying to compile examples/class.fy (Rubinius::CompileError)
Backtrace:
Rubinius::Compiler.compiler_error at /usr/local/rubinius/1.1/lib/compiler/compiler.rbc:11
Fancy::Compiler.compile_file:to:line:print: at boot/compiler/compiler.fy:35
Fancy::Compiler::Command.compile:info:print: at boot/compiler/command.fy:12
{ } in Fancy::Compiler::Command.run: at boot/compiler/command.fy:6
{ } in Rubinius::BlockEnvironment#Block at rbx/fancy_ext/block_env.rb:18
{ } in Array#each: at lib/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:66
Array#each: at lib/rbx/array.fy:50
Fancy::Compiler::Command.run: at boot/compiler/command.fy:7
main.__script__ at boot/compile.fy:4
Object#fancy_require at boot/load.rb:19
main.__script__ at boot/load.rb:27
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:460
Rubinius::Loader#main at kernel/loader.rb:571
Rubinius::Loader.main at kernel/loader.rb:609
Object#__script__ at kernel/loader.rb:621
Caused by: Tried to use object of type PackedObject (46) as type Symbol (53) (TypeError)
Backtrace:
Rubinius::Generator#package at /usr/local/rubinius/1.1/lib/compiler/generator.rbc:238
{ } in Rubinius::Generator#package at /usr/local/rubinius/1.1/lib/compiler/generator.rbc:223
Array#each at kernel/bootstrap/array.rb:66
Rubinius::Generator#package at /usr/local/rubinius/1.1/lib/compiler/generator.rbc:223
{ } in Rubinius::Generator#package at /usr/local/rubinius/1.1/lib/compiler/generator.rbc:223
Array#each at kernel/bootstrap/array.rb:66
Rubinius::Generator#package at /usr/local/rubinius/1.1/lib/compiler/generator.rbc:223
Rubinius::Compiler::Packager#run at /usr/local/rubinius/1.1/lib/compiler/stages.rbc:94
Rubinius::Compiler::Stage(Rubinius::Compiler::Encoder)#run_next at /usr/local/rubinius/1.1/lib/compiler/stages.rbc:51
Rubinius::Compiler::Encoder#run at /usr/local/rubinius/1.1/lib/compiler/stages.rbc:112
Rubinius::Compiler::Stage(Fancy::Compiler::Stages::FancyGenerator)#run_next at /usr/local/rubinius/1.1/lib/compiler/stages.rbc:51
{ } in Fancy::Compiler::Stages::Stage(Fancy::Compiler::Stages::FancyGenerator)#Stage at boot/compiler/stages.fy:17
Rubinius::Compiler::Stage(Fancy::Compiler::Stages::FancyFileParser)#run_next at /usr/local/rubinius/1.1/lib/compiler/stages.rbc:51
{ } in Fancy::Compiler::Stages::Stage(Fancy::Compiler::Stages::FancyFileParser)#Stage at boot/compiler/stages.fy:17
Rubinius::Compiler(Fancy::Compiler)#run at /usr/local/rubinius/1.1/lib/compiler/compiler.rbc:115
Fancy::Compiler.compile_file:to:line:print: at boot/compiler/compiler.fy:33
Fancy::Compiler::Command.compile:info:print: at boot/compiler/command.fy:12
{ } in Fancy::Compiler::Command.run: at boot/compiler/command.fy:6
{ } in Rubinius::BlockEnvironment#Block at rbx/fancy_ext/block_env.rb:18
{ } in Array#each: at lib/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:66
Array#each: at lib/rbx/array.fy:50
Fancy::Compiler::Command.run: at boot/compiler/command.fy:7
main.__script__ at boot/compile.fy:4
Object#fancy_require at boot/load.rb:19
main.__script__ at boot/load.rb:27
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:460
Rubinius::Loader#main at kernel/loader.rb:571
Rubinius::Loader.main at kernel/loader.rb:609
Object#__script__ at kernel/loader.rb:621
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment