Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix old record syntax warning in test's Main file #233

Open
mattpolzin opened this issue Dec 2, 2024 · 0 comments
Open

Fix old record syntax warning in test's Main file #233

mattpolzin opened this issue Dec 2, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@mattpolzin
Copy link
Member

Warning: DEPRECATED: old record update syntax.
  Use "{ f := v } p" instead of "record { f = v } p"
  and "{ f $= v } p" instead of "record { f $= v } p"
Main:17:21--17:66
 13 | main = runner
 14 |   [ testPaths "lsp" allTests
 15 |   ] where
 16 |     testPaths : String -> TestPool -> TestPool
 17 |     testPaths dir = record { testCases $= map ((dir ++ "/") ++) }
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@mattpolzin mattpolzin added the good first issue Good for newcomers label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant