[lisaac-Bugs][311992] crash: inheritance and generic prototypes
lisaac-bugs at alioth.debian.org
lisaac-bugs at alioth.debian.org
Sat Oct 10 22:53:43 UTC 2009
Bugs item #311992, was changed at 2009-09-30 19:01 by Mildred Ki'Lya
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413092&aid=311992&group_id=100200
>Status: Closed
Priority: 4
Submitted By: Mildred Ki'Lya (mildred-guest)
Assigned to: Nobody (None)
Summary: crash: inheritance and generic prototypes
Target Milestone: Lisaac 0.4
Category: Lisaac Compiler
Initial Comment:
The lisaac compiler crash on a call on NULL.
Included a testcase and a patch (included in the branch stable) to raise an error instead of crashing.
The problem happens when a prototype with no generic parameters inherit from a prototype with generic parameters. Any call on the parent prototype that happen to involve a generic parameter crash because the compiler can't find the real type for the type parameter.
The problem is that ITM_TYPE_PARAMETER.to_run_for sometimes returns NULL
----------------------------------------------------------------------
>Comment By: Mildred Ki'Lya (mildred-guest)
Date: 2009-10-11 00:53
Message:
Fixed in master wich was merged onto stable
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413092&aid=311992&group_id=100200
More information about the Lisaac-devel
mailing list