core.match

This 5-clause match expression fails to compile

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Ubuntu 10.10

    java version "1.6.0_20"
    OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.10.2)
    OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Description

This expression fails to compile with a NullPointerException. Oddly enough I seem unable to make it any more minimal:

(match [["foo"]]
    [["foo"]] :a0
    [["foo" a]] :a1
    [["baz"]] :a2
    [["baz" a b]] :a3)

When I included the SNAPSHOT release in my project that seemed to fix it, but oddly enough I cloned the git repo this morning and it was still broken on HEAD, so I have no idea what's going on.

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: