Skip to content

Whitespace needed between double arguments? (german locale) #1214

@mlarue

Description

@mlarue
class Math {
    static add(a, b) {
        return a + b
    }
}

var result = Math.add(10,13)
System.print("add = %(result)")

if (result != 23) {
    Fiber.abort("result should be 23, but is: %(result)")
}

When I load this script with wrenInterpret it fails with: result should be 23, but is: 23,13

It works, if I add a whitespace between the arguments like so: Math.add(10, 13)

If i run this script with bin/wren_test everything works as expected. Both with and without the whitespace.

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