Skip to content

Type checking message error #388

@phillipnunes

Description

@phillipnunes

I've been testing the type checking, so I made this change on purpose in my component:
fun render : HTML {

Instead of:
fun render : Html {

But I em getting this message error (I think it's inverted):
"The return type of a function does not match it's type definition.

I was expecting:
HTML

Instead it is:
Html"

Is it not supposed to be the inverse? Something like:

"I was expecting:
Html

Instead it is:
HTML"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions