-
Notifications
You must be signed in to change notification settings - Fork 3
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
Upgrade to k2, remove Kotlin/js #172
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Please also fix workflows files as I wrote here
aliasServer/aliasServerCard/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt
Outdated
Show resolved
Hide resolved
b8a4c71
to
7db40b1
Compare
Apparently, Qodana build fails now because the QODANA_TOKEN secret is not in the head repository. Probably the same with collections |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I can see you have not updated the resources in the servers with updated compiled front end, please do it to double check if everything is working. You need to build the frontend (yarn run build) and then run the serveResourcesTask
task for the necessary project.
I will come back soon with a token for Qodana
@@ -18,5 +18,6 @@ class GameResultsService { | |||
gameHistory.add(result) | |||
} | |||
|
|||
fun getAllGameResults() = gameHistory.reversed() | |||
// It's necessary to specify return type explicitly, so kotlin-reflect gets it right | |||
fun getAllGameResults(): List<GameResult> = gameHistory.reversed() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the student does not explicitly specify the return type? I'd suggest adding a check that will handle this case in the tests, WDYT?
aa7c778
to
a1c17c3
Compare
No description provided.