-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elixir 1.17 #760
Elixir 1.17 #760
Conversation
I see some errors from ElixirSense. If ElixirSense is using |
Yep, here's the commit in |
Just wanted to say that, except for all the deprecation warnings, the latest I had to locally "allow" it though through editing boot.ex. Maybe allow it for everyone today? Or is it actually buggy and I'm failing to see it? |
@kirillrogovoy are you using this branch? |
@scohen I was referring to the latest Haven't tried using this branch. My point was that, since 1.17.0 release is out now, a bunch of people are upgrading their setup (e.g. I now run 1.17.0 both locally and in production), and Lexical refuses to start due to that version check although technically it works well if you bypass the check. Or at least if feels like it to me. So my suggestion was that maybe we could add that |
The problem getting those changes merged is that we have a bunch of test failures under 1.17 that need to be addressed before we merge. They look legitimate to me, and will affect how errors are shown in the UI. |
I, too, am looking forward to Elixir 1.17 support. Thanks in advance for making it happen, even if it should take some time. Your work on lexical is much appreciated! |
Changed single quoted charlists to use the ~c sigil
318a7dd
to
3a2e44c
Compare
@miguno @kirillrogovoy @bigardone I have fixed all the test errors for the 5 versions. Please pull the latest code from this branch and test it when you have a chance. If there are no further issues, we will merge it ASAP after the review. |
Thanks a lot @scottming! I've just pulled, checked out the branch, and ran mix deps.get, mix package. As far as I can tell, Lexical has compiled successfully, and all basic LSP functions work in my Neovim. Will post any issues here. |
👋🏼 @scottming, thanks for the update! Same as @kirillrogovoy here. I just pulled the branch, and everything seems to be working fine. 🙌🏼 |
Elixir 1.17's AST includes `end_of_expression`, which allows `Sourceror` to return a more precise range. Therefore, we no longer need to add 2 in `insert_position`.
…o_quoted_with_comments/2` And Copied the latest future erlang code
Because the latest `tokenize` is more accurate, some of our previous tests were written incorrectly, but they still passed at that time.
…column is at the maximum value of end
Sourceror has already fixed the errors related to anonymous functions, so we no longer need to handle such functions specially.
In version 1.17, the position of the error returned for incomplete symbols like `%{` is placed before the `%`.
Update all of `elixir_interpolation` call to `future_elixir_interpolation`
…s_set_theoretic_types?`
Changed single quoted charlists to use the ~c sigil