Skip to content

Syntax error but no clue #50

Closed
Closed
@f4lco

Description

@f4lco

I'm using kotlin-jupyter-kernel 0.7.40.145 and a cell with the following code (and syntactic error) produces no output:

data class Person(val name: String, val age: Int)
val example = Person("Testperson"; age = 4)
println(example)

As evident in this screen shot:
person

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 ,.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wait for answerThe issue waits for opener's action or answer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions