{"action":"opened","issue":{"url":"https://api.github.com/repos/phildawes/racer/issues/483","labels_url":"https://api.github.com/repos/phildawes/racer/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/phildawes/racer/issues/483/comments","events_url":"https://api.github.com/repos/phildawes/racer/issues/483/events","html_url":"https://github.com/phildawes/racer/issues/483","id":127672282,"number":483,"title":"error: unexpected token: `<eof>`","user":{"login":"bruno-medeiros","id":4324232,"avatar_url":"https://avatars.githubusercontent.com/u/4324232?v=3","gravatar_id":"","url":"https://api.github.com/users/bruno-medeiros","html_url":"https://github.com/bruno-medeiros","followers_url":"https://api.github.com/users/bruno-medeiros/followers","following_url":"https://api.github.com/users/bruno-medeiros/following{/other_user}","gists_url":"https://api.github.com/users/bruno-medeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno-medeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno-medeiros/subscriptions","organizations_url":"https://api.github.com/users/bruno-medeiros/orgs","repos_url":"https://api.github.com/users/bruno-medeiros/repos","events_url":"https://api.github.com/users/bruno-medeiros/events{/privacy}","received_events_url":"https://api.github.com/users/bruno-medeiros/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-20T12:29:06Z","updated_at":"2016-01-20T12:29:06Z","closed_at":null,"body":"```\r\nfn main() {\r\n\tlet a = '\"'.escape_default();\r\n}\r\n```\r\nAnd then:\r\n`>> Running: D:\\devel\\tools.Rust\\racer\\target\\debug\\racer.exe complete-with-snippet 2 27 D:\\devel\\Scratchpad.D\\RustTest\\src\\main_bug.rs`\r\nWe get a panic:\r\n```\r\nPREFIX 13,27,escape_default\r\nbogofile:0:1: 0:1 error: unexpected token: `<eof>`\r\nthread 'searcher' panicked at 'arithmetic operation overflowed', D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\codemap.rs:934\r\nstack backtrace:\r\n   0:           0xdf12a7 - sys::backtrace::write::hb4a936e16373bac60Bt\r\n   1:           0xdf8c5e - panicking::log_panic::hb2ada3ca233a95f6zlx\r\n   2:           0xdb581c - sys_common::unwind::begin_unwind_inner::hd8664d70d0e8892a0ks\r\n   3:           0xdb5f8b - sys_common::unwind::begin_unwind_fmt::h70b08f84bc0aa0aa6js\r\n   4:           0xdee4c2 - rust_begin_unwind\r\n   5:           0xe137d8 - panicking::panic_fmt::hd4a3f538cd5921dcZEK\r\n   6:           0xe0dc30 - panicking::panic::h11474eb550eeee87wDK\r\n   7:           0x7de541 - codemap::_<impl>::span_to_lines::h2517988df69877abwSB\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src/codemap.rs:934\r\n   8:           0x7dac16 - errors::emitter::_<impl>::emit_::h78e5a7eb65fd6fbch0b\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\errors/emitter.rs:178\r\n   9:           0x7da1c1 - errors::emitter::_<impl>::emit::hd787ff5a69d7a2a7eWb\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\errors/emitter.rs:101\r\n  10:           0x7ed1fd - errors::_<impl>::emit::h3c2aecd5f5917f25C5c\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\errors/mod.rs:277\r\n  11:           0x7ed06f - errors::_<impl>::span_fatal::h9194bd43016b3029pSc\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\errors/mod.rs:139\r\n  12:           0x958604 - parse::parser::_<impl>::span_fatal::h08346069ff747a6d60G\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:988\r\n  13:           0x95853e - parse::parser::_<impl>::unexpected_last::h893af2b825959a4aeeG\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:398\r\n  14:           0x98512d - parse::parser::_<impl>::lit_from_token::hc4c0d2648be767dd9RH\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:1560\r\n  15:           0x98af07 - parse::parser::_<impl>::parse_lit::h1d282ae9545f2ac4dWH\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:1573\r\n  16:           0x9968ed - parse::parser::_<impl>::parse_bottom_expr::h22962903b74ba4528qI\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:2285\r\n  17:           0x99e9e5 - parse::parser::_<impl>::parse_dot_or_call_expr::h714c074aef3a40bb0WI\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:2326\r\n  18:           0x9ae2c8 - parse::parser::_<impl>::parse_prefix_expr::h865346991a3c29c80rJ\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:2732\r\n  19:           0x9b0041 - parse::parser::_<impl>::parse_assoc_expr_with::h9ce2a7e0af818a49gzJ\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:2762\r\n  20:           0x9afc8a - parse::parser::_<impl>::parse_assoc_expr::haa2a1083ab5e6647YyJ\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:2744\r\n  21:           0x9b5f5a - parse::parser::_<impl>::parse_expr_res::_<closure>::closure.72215\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:3142\r\n  22:           0x9b5e71 - parse::parser::_<impl>::with_res::h15860376303709189181\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:3132\r\n  23:           0x9af5b7 - parse::parser::_<impl>::parse_expr_res::h68009bb7fe90f59dC9J\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:3142\r\n  24:           0x9bf0bf - parse::parser::_<impl>::parse_stmt_::hb24419d4a0f24c48SSK\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:3715\r\n  25:           0x9bcc54 - parse::parser::_<impl>::parse_stmt::h636703f5e633f1fboSK\r\n                        at D:\\cygwin\\home\\Bruno\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\syntex_syntax-0.24.0\\src\\parse/parser.rs:3593\r\n  26:           0x5e6ecc - ast::string_to_stmt::_<closure>::closure.30159\r\n                        at src/racer/ast.rs:41\r\n  27:           0x5e45bb - ast::with_error_checking_parse::h18159780553480745454\r\n                        at src/racer/ast.rs:35\r\n  28:           0x5e4191 - ast::string_to_stmt::haa5071d74725a6003wb\r\n                        at src/racer/ast.rs:40\r\n  29:           0x5c3347 - ast::get_type_of::h40f386962154a315KRc\r\n                        at src/racer/ast.rs:931\r\n  30:           0x5bbdb9 - core::complete_from_file::he2c82ab0272e9dc2jZa\r\n                        at src/racer/core.rs:588\r\n  31:           0x40c2e3 - run_the_complete_fn::hf673a225b61668bc0ka\r\n                        at src/bin/main.rs:139\r\n  32:           0x40b4ee - complete_by_line_coords::_<closure>::closure.18907\r\n                        at src/bin/main.rs:105\r\n  33:           0x40aee0 - std::thread::_<impl>::spawn::_<closure>::_<closure>::closure.18891\r\n                        at ../src/libstd\\thread/mod.rs:271\r\n  34:           0x40ae22 - sys_common::unwind::try::try_fn::try_fn::h3109068392281760560\r\n                        at ../src/libstd\\sys/common\\unwind/mod.rs:156\r\n  35:           0xde18a1 - sys_common::unwind::try::inner_try::hd8672c6ed8d8693fyhs\r\n  36:           0x40ad6f - sys_common::unwind::try::try::h13241189626971655312\r\n                        at ../src/libstd\\sys/common\\unwind/mod.rs:126\r\n  37:           0x40ab6a - std::thread::_<impl>::spawn::_<closure>::closure.18867\r\n                        at ../src/libstd\\thread/mod.rs:271\r\n  38:           0x40b7e0 - boxed::_<impl>::call_box::call_box::h6754161134390792452\r\n                        at ../src/liballoc/boxed.rs:521\r\n  39:           0xdf725d - sys::thread::_<impl>::new::thread_start::h5b3191a3b69bf6f9XNw\r\n  40:         0x776c5a4c - jemalloc_constructor\r\nERROR:racer: Search thread paniced: Any\r\n```\r\n"}}