8000 Passing a String to the == (Core eq) operator throws a JaninoRuntimeException · Issue #10 · CODAIT/aardpfark · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Passing a String to the == (Core eq) operator throws a JaninoRuntimeException #10
Open
@MLnick

Description

@MLnick

This throws an exception with the following warning:
org.codehaus.janino.JaninoRuntimeException: Incompatible return types

This can be reproduced with the following code

    val action = core.eq(inputExpr, "cat")
    val pfaDoc = new PFABuilder()
      .withInput[String]
      .withOutput[Boolean]
      .withAction(action)
      .pfa
    val engine = getPFAEngine(pfaDoc.toJSON())
    engine.action(engine.jsonInput("cat"))

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

      0