Update Scala keywords to support Scala 3#3506
Conversation
RunDevelopment
left a comment
There was a problem hiding this comment.
Thank you for the PR!
Please add the new keywords to Scala's keyword test and update the test. And please rebuild Prism by running npm ci && npm run build (the prism-scala.min.js file needs to be committed).
|
Thank you @RunDevelopment for your help. I’ve added a test but I was unable to update the test: Maybe my version of node is too old? I use version 14.20.0, which should be OK according to your README? Running I am not sure how to move forward. |
Add `given`, `transparent`, and `using` keywords.
|
No, NodeJS v14.x is supported. We use that version is our CI. Are you sure you installed our dependencies correctly? Please use |
|
I did |
|
That is very strange. My only guess is that npm is not actually using node to run our tests and build scripts. We recently had a similar issue. For now, I rebuilt and updated the tests for you. |
|
Thank you! |
Add several soft keywords that have been introduced in Scala 3.