Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Fix more code actions in windows #1399

Merged
merged 4 commits into from
Sep 30, 2019
Merged

Conversation

jneira
Copy link
Member

@jneira jneira commented Sep 30, 2019

  • Follow up of Fix code renaming in windows #1392
  • It turns out that there were more places where the code assumed and as term delimiters
    • And it assumed that the symbol to start a list option was (in windows is *)
  • It fixes almost all failed tests listed in Error in windows detected by the functional test suite #1391 (all except 11, 12 and 13) 😄
  • The duplicated function extractTerm could be in common module but i am not sure where would be: maybe Haskell.Ide.Engine.PluginUtils in hie-plugin-api?
  • An alternative impl for extractTermwould be T.init $ T.tail $ T.dropWhileEnd (/= b) $ T.dropWhile (/= e), do you think that it would be better?

@jneira jneira requested a review from fendor September 30, 2019 11:53
src/Haskell/Ide/Engine/Plugin/Package.hs Outdated Show resolved Hide resolved
@jneira jneira merged commit 9feb2eb into haskell:master Sep 30, 2019
@jneira jneira deleted the fix-enc-terms branch October 2, 2019 05:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants