File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/hls-refactor-plugin/src/Development/IDE/Plugin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1864,9 +1864,9 @@ extractNotInScopeName x
18641864 -- hint changes in the future
18651865 -- - Next regex will account for polymorphic types, which appears as `HasField
18661866 -- "foo" (Bar Int)...`, e.g. see the parenthesis
1867- | Just [_module, name] <- matchRegexUnifySpaces x " No instance for ‘ .*HasField \" [^\" ]+\" ([^ (.]+\\ .)*([^ (.]+).*’ "
1867+ | Just [_module, name] <- matchRegexUnifySpaces x " No instance for [‘(] .*HasField \" [^\" ]+\" ([^ (.]+\\ .)*([^ (.]+).*[’)] "
18681868 = Just $ NotInScopeThing name
1869- | Just [_module, name] <- matchRegexUnifySpaces x " No instance for ‘ .*HasField \" [^\" ]+\" \\ (([^ .]+\\ .)*([^ .]+)[^)]*\\ ).*’ "
1869+ | Just [_module, name] <- matchRegexUnifySpaces x " No instance for [‘(] .*HasField \" [^\" ]+\" \\ (([^ .]+\\ .)*([^ .]+)[^)]*\\ ).*[’)] "
18701870 = Just $ NotInScopeThing name
18711871 | Just [name] <- matchRegexUnifySpaces x " ot in scope: \\ (([^‘ ]+)\\ )"
18721872 = Just $ NotInScopeThing name
You can’t perform that action at this time.
0 commit comments