next-ls
next-ls copied to clipboard
GenServer :"db-myproject" terminating due to unicode in function name
13:51:54.802 [error] GenServer :"db-myproject" terminating
** (Protocol.UndefinedError) protocol String.Chars not implemented for {:wrong_type, :to_\x{3BC}s} of type Tuple. This protocol is implemented for the following type(s): Atom, BitString, Date, DateTime, Exqlite.Query, Float, Integer, List, NaiveDateTime, Time, URI, Version, Version.Requirement
(elixir 1.15.7) lib/string/chars.ex:3: String.Chars.impl_for!/1
(elixir 1.15.7) lib/string/chars.ex:22: String.Chars.to_string/1
(exqlite 0.13.15) lib/exqlite/connection.ex:645: Exqlite.Connection.bind_params/3
(exqlite 0.13.15) lib/exqlite/connection.ex:604: Exqlite.Connection.execute/4
(next_ls 0.15.0) lib/next_ls/db.ex:195: NextLS.DB.__query__/3
(next_ls 0.15.0) lib/next_ls/db.ex:163: NextLS.DB.handle_cast/2
(stdlib 5.1.1) gen_server.erl:1103: :gen_server.try_handle_cast/3
(stdlib 5.1.1) gen_server.erl:1165: :gen_server.handle_msg/6
Last message: {:"$gen_cast", {:insert_reference, %{arity: 1, meta: [closing: [line: 33, column: 75], line: 33, column: 61], module: MyApp.Thing, type: :function, file: "/Users/gregmefford/projects/myproject/apps/my_app/lib/my_app/thing.ex", identifier: :to_\x{3BC}s, source: "user"}}}
State: %{logger: #PID<0.194.0>, file: "/Users/gregmefford/projects/myproject/.elixir-tools/nextls.db", conn: %Exqlite.Connection{db: #Reference<0.834753214.2175664155.178559>, directory: "/Users/gregmefford/projects/myproject/.elixir-tools", path: "/Users/gregmefford/projects/myproject/.elixir-tools/nextls.db", transaction_status: :idle, status: :idle, chunk_size: 50}, activity: :"db-activity-myproject"}