Skip to content

Issue in Prefix Postfix Infix assignment #133

Open
@senth54

Description

@senth54

I am unable to test the basic Infix , see the bold error message below

Any method which takes a single parameter can be used as an infix operator: a.m(b) can also be written as a m b.

val g: Int = 3
(g + 4) should be(
g.+(4)
) // + is an infix operator
g.+(4) should be(
g + 4
)
Evaluation failed : Compilation Error ; ERROR -> not found: value g at [308, 308, 308]

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