Commit 0218e46
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 3aae249 commit 0218e46
File tree
2 files changed
+36
-0
lines changed- plugins/hls-refactor-plugin
- src/Development/IDE/Plugin
- test
2 files changed
+36
-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 | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
323 | 324 | | |
324 | 325 | | |
325 | 326 | | |
| |||
1909 | 1910 | | |
1910 | 1911 | | |
1911 | 1912 | | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
1912 | 1940 | | |
1913 | 1941 | | |
1914 | 1942 | | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
1915 | 1947 | | |
1916 | 1948 | | |
1917 | 1949 | | |
| |||
0 commit comments