Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

ERROR: LoadError: MethodError: no method matching LineNumberNode(::Symbol, ::Int64) #109

Closed
josefsachsconning opened this issue May 19, 2016 · 1 comment

Comments

@josefsachsconning
Copy link
Collaborator

Using master branch of Julia and Gallium and its dependencies.

AWS-Sachs-Ubuntu$ usr/bin/julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.0-dev+4193 (2016-05-19 17:36 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 1873dd9 (0 days old master)
|__/                   |  x86_64-linux-gnu

julia> using Gallium
INFO: Precompiling module Gallium...
ERROR: LoadError: MethodError: no method matching LineNumberNode(::Symbol, ::Int64)
Closest candidates are:
  LineNumberNode{T}(::Any)
 in parse_resword(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::JuliaParser.Tokens.Token, ::Void) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:1111
 in parse_call(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:691
 in parse_decl(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:561
 in parse_factorh(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::JuliaParser.Parser.#parse_decl, ::Set{Symbol}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:584
 in parse_unary(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:621
 in parse_with_chains(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::JuliaParser.Parser.#parse_rational, ::Set{Symbol}, ::Symbol) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:206 (repeats 2 times)
 in parse_range(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:503
 in parse_comparison(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::Set{Symbol}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:457
 in parse_and at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:426 [inlined]
 in parse_RtoL(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::JuliaParser.Parser.#parse_and, ::Set{Symbol}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:239
 in parse_or(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:417
 in parse_RtoL(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::JuliaParser.Parser.#parse_or, ::Set{Symbol}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:239
 in parse_arrow(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:431
 in parse_cond(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:270
 in parse_Nary(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::JuliaParser.Parser.#parse_cond, ::Set{Char}, ::Symbol, ::Set{Any}, ::Bool, ::Void) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:310
 in parse_eq at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:399 [inlined]
 in parse_docstring(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::JuliaParser.Parser.#parse_eq) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:2106
 in parse_Nary(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::JuliaParser.Parser.##1#2, ::Set{Char}, ::Symbol, ::Set{Char}, ::Bool, ::Void) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:310
 in parse_stmts(::JuliaParser.Parser.ParseState, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:367
 in #parse#24(::JuliaParser.Parser.#parse_stmts, ::Function, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:2141
 in _precompile_() at /home/sachs/.julia/v0.5/JuliaParser/src/precompile.jl:7
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:225
 in process_options(::Base.JLOptions) at ./client.jl:240
 in _start() at ./client.jl:319
while loading /home/sachs/.julia/v0.5/JuliaParser/src/JuliaParser.jl, in expression starting on line 12
ERROR: LoadError: Failed to precompile JuliaParser to /home/sachs/.julia/lib/v0.5/JuliaParser.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:337
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:225
 in process_options(::Base.JLOptions) at ./client.jl:240
 in _start() at ./client.jl:319
while loading /home/sachs/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl, in expression starting on line 8
ERROR: LoadError: Failed to precompile ASTInterpreter to /home/sachs/.julia/lib/v0.5/ASTInterpreter.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:337
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:225
 in process_options(::Base.JLOptions) at ./client.jl:240
 in _start() at ./client.jl:319
while loading /home/sachs/.julia/v0.5/Gallium/src/Gallium.jl, in expression starting on line 3
ERROR: Failed to precompile Gallium to /home/sachs/.julia/lib/v0.5/Gallium.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:364
 in eval(::Module, ::Any) at ./boot.jl:225
 in macro expansion at ./REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46
@josefsachsconning
Copy link
Collaborator Author

Fixed by 5697ab8 to JuliaParser.jl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants