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

Gary Fredericks made changes -
Field Original Value New Value
Summary This 5-clause match expression fails to compile for some reason This 5-clause match expression fails to compile
David Nolen made changes -
Description This expression fails to compile with a NullPointerException. Oddly enough I seem unable to make it any more minimal:

(match [["foo"]]
       [["foo"]]
         :match-a
       [["foo" a]]
         :match-b
       [["bar"]]
         :match-c
       [["baz" a b c d e]]
         :match
       [["baz"]]
         :match-e)

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.
This expression fails to compile with a NullPointerException. Oddly enough I seem unable to make it any more minimal:

{code}
(match [["foo"]]
  [["foo"]] :a0
  [["foo" a]] :a1
  [["bar"]] :a2
  [["baz" a b c d e]] :a3
  [["baz"]] :a4)
{code}

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.
David Nolen made changes -
Status Open [ 1 ] In Progress [ 3 ]
David Nolen made changes -
Description This expression fails to compile with a NullPointerException. Oddly enough I seem unable to make it any more minimal:

{code}
(match [["foo"]]
  [["foo"]] :a0
  [["foo" a]] :a1
  [["bar"]] :a2
  [["baz" a b c d e]] :a3
  [["baz"]] :a4)
{code}

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.
This expression fails to compile with a NullPointerException. Oddly enough I seem unable to make it any more minimal:

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

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.
David Nolen made changes -
Resolution Completed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: