Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
  • hlintcpp branch ghc-8.8.3
      apply hints works with CPP via language pragma:                                          FAIL (expected: apply-refact doesn't work with cpp) (66.79s)
        test/utils\\Test\\Hls\\Util.hs:401:
        Timed out waiting to receive a message from the server.
        Last message received:
        {
            "tag": "RspExecuteCommand",
            "contents": {
                "error": {
                    "code": -32602,
                    "message": "hlint:applyOne: \"Expected type not found at the location specified in the refact file.\\n  Expected type: HsExpr (GhcPass 'Parsed)\\n  Location: C:\\\\TEMP\\\\App56DF.hs:215:6: inappropriate type\""
                },
                "jsonrpc": "2.0",
                "id": 2
            }
        } (expected failure)
  • hlintcpp with ghc-8.10.3
      apply hints works with CPP via -XCPP argument:                                           FAIL (expected: apply-refact doesn't work with cpp) (19.39s)
        test/functional\\FunctionalCodeAction.hs:190:
        expected: "module ApplyRefact3 where\n\n#ifdef FLAG\nf = 1\n#else\ng = 2\n#endif\n\n"
         but got: "module ApplyRefact3 where\n\n\nf = 1\n" (expected failure)
  • master with ghc-8.8.4
      apply hints works with CPP via language pragma:                                          FAIL (expected: apply-refact doesn't work with cpp) (61.89s)
        Timed out waiting to receive a message from the server.
        Last message received:
        {
            "tag": "NotWorkDoneProgressEnd",
                "jsonrpc": "2.0",
                "params": {
                    "value": {
                        "kind": "end",
                    },
                    "token": "134"
                },
                "method": "$/progress"
        } (expected failure)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment