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

Fix code renaming in windows #1392

Merged
merged 2 commits into from
Sep 25, 2019
Merged

Fix code renaming in windows #1392

merged 2 commits into from
Sep 25, 2019

Conversation

jneira
Copy link
Member

@jneira jneira commented Sep 24, 2019

  • Taking in account terms between backquote and single quote
  • In my hie.log i'be observed that the quickfix request is
{
  "jsonrpc": "2.0",
  "id": 38,
  "method": "textDocument/codeAction",
  "params": {
    "textDocument": {
      "uri": "file:///d%3A/ws/haskell/haskell-ide-engine/test/testdata/CodeActionRename.hs"
    },
    "range": {
      "start": {
        "line": 0,
        "character": 11
      },
      "end": {
        "line": 0,
        "character": 11
      }
    },
    "context": {
      "diagnostics": [
        {
          "range": {
            "start": {
              "line": 0,
              "character": 7
            },
            "end": {
              "line": 0,
              "character": 15
            }
          },
          "message": "* Variable not in scope: butStrLn :: [Char] -> t\n* Perhaps you meant `putStrLn' (imported from Prelude)",
          "severity": 1,
          "source": "ghcmod"
        }
      ]
    }
  }
}

@jneira jneira changed the title Fix code reanming in windows Fix code renaming in windows Sep 24, 2019
@jneira jneira requested a review from fendor September 24, 2019 13:01
@fendor fendor self-requested a review September 25, 2019 13:28
@fendor fendor merged commit 92f0aa6 into haskell:master Sep 25, 2019
@jneira jneira deleted the fix-renaming branch September 25, 2019 20:16
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.

2 participants