flix / programming-flix

A tutorial for programming in Flix
Apache License 2.0
6 stars 13 forks source link

Failed to execute the Introduction code. #50

Closed rysh closed 2 years ago

rysh commented 2 years ago

Second paragraph of the introduction page I tried to run the code that introduces polymorphic records in the playground, but failed.

スクリーンショット 2021-12-15 10 18 17

It would be sad if an error occurred in the Introduction code, so I want to worked properly.

And if someone can give me some pointers on how to fix it, I'd like to try it.

mlutze commented 2 years ago

Thanks for pointing this out.

We had a syntax change a while ago:

You can make those changes in the Introduction.js file.

magnus-madsen commented 2 years ago

Fixed thanks to @rysh