[e-lang] Bug: deENodeKit inconsistent with makeFinalPattern

Mark Miller erights at gmail.com
Sat Aug 25 14:50:23 EDT 2007


On 8/24/07, Kevin Reid <kpreid at mac.com> wrote:
> ? <elib:serial.deSubgraphKit>.recognize(
>  >   def x := [x],
>  >   <elib:serial.deENodeKit>.makeBuilder())
> # problem: <NoSuchMethodException: <a FinalPattern__Maker>.run/3>
>
> deENodeKit expects makeFinalPattern to have a 3ary method which takes
> a string noun; makeFinalPattern has only 4 and 5ary methods taking
> NounExpr.

It looks like deENodeKit's makeFinalPattern(null, name, null) should be
translated into an actual

    makeFinalPattern(null, makeSimpleNounExpr(null, name, null), null)

Does this seem right?

-- 
Text by me above is hereby placed in the public domain

    Cheers,
    --MarkM


More information about the e-lang mailing list