You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using kotlin-jupyter-kernel 0.7.40.145 and a cell with the following code (and syntactic error) produces no output:
data classPerson(valname:String, valage:Int)
val example =Person("Testperson"; age =4)
println(example)
As evident in this screen shot:
Whenever I make a different kind of error, such as leaving out a parameter (as in Person("foo")), I get a helpful message in red below the cell. There should be a similar error message when mistaking ; for ,.
The text was updated successfully, but these errors were encountered:
Hello @ileasile this issue appears fixed in 0.7.41.254.dev1 as advertised (minus the fancy tooltip - maybe it requires additional dependencies or configuration?).
My first attempt - running pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel, because it is labeled as "dev" in the README - installed 0.7.41.190. In this version the bug is also fixed, but in a slightly different manner:
I thought it might be of interest to you, in case this is unexpected.
Both releases clear the bar for me and provide some indication what's wrong with the code (which line to look at and what to fix). Thank you very much, closing this now.
I almost forgot the praise I was going to give. I used this kernel when recently trying to befriend some Java devs with Kotlin. Using the presentation mode of a Jupyter notebook with some prepared examples in addition to livecoding really proved worthwhile and felt superior to using only a REPL. You guys made it possible, I really appreciate it. Thanks!
I'm using kotlin-jupyter-kernel 0.7.40.145 and a cell with the following code (and syntactic error) produces no output:
As evident in this screen shot:

Whenever I make a different kind of error, such as leaving out a parameter (as in
Person("foo")
), I get a helpful message in red below the cell. There should be a similar error message when mistaking;
for,
.The text was updated successfully, but these errors were encountered: