Commit ee52849
committed
feat: add test and import suggestion for not in scope record field
In ghc 9.6 we had:
```
Not in scope ‘modelStatusTag’
```
In 9.10 we have:
```
Not in scope: record field ‘modelStatusTag’
```
Introducing the new regex in order to match it AND a test to ensure no
future regression.
The regression is due to the fact that there is a matcher which catch
`Nat in scope: .*`, hence it was matching "record" instead of
"modelStatusTag".1 parent 2b27964 commit ee52849
File tree
2 files changed
+8
-0
lines changed- plugins/hls-refactor-plugin
- src/Development/IDE/Plugin
- test
2 files changed
+8
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1870 | 1870 | | |
1871 | 1871 | | |
1872 | 1872 | | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
1873 | 1877 | | |
1874 | 1878 | | |
1875 | 1879 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1912 | 1912 | | |
1913 | 1913 | | |
1914 | 1914 | | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
1915 | 1919 | | |
1916 | 1920 | | |
1917 | 1921 | | |
| |||
0 commit comments