elixir icon indicating copy to clipboard operation
elixir copied to clipboard

master(1.1.0-dev), Code.string_to_quoted loses column info from tokenizer

Open jfis opened this issue 11 years ago • 4 comments

column data ({Line, ColumnBegin, ColumnEnd}) from :elixir_tokenizer.tokenize does not pass through :elixir_parser.parser if this is not intentional, i have a pr ready

jfis avatar Aug 06 '15 21:08 jfis

So far it is intentional because Erlang does not support it yet, so there is no purpose in passing it forward. We will need to change the whole compiler tool chain to handle that first.

josevalim avatar Aug 06 '15 21:08 josevalim

ok. i thought it would be useful for tooling/editors

jfis avatar Aug 06 '15 21:08 jfis

Yes, it would, but not if it breaks the language. :) Thanks though!

josevalim avatar Aug 06 '15 21:08 josevalim

Ok. There must be something else that I don't know of then. All tests were passing, btw.

jfis avatar Aug 06 '15 21:08 jfis