Subject: Re: Error: shouldn't still have this class as a context
From: Keunwoo Lee (klee@cs.washington.edu)
Date: Mon Nov 06 2000 - 14:07:36 PST
It would help to know what operator is at the BinaryOpNode, and what the
operands are.  Is this a node that you've touched (i.e. folded something
into)?
~k
On Mon, 6 Nov 2000, Sorin Lerner wrote:
> 
> After running my constant folding phase, I hit the error on line 245 in
> rep-classes.cecil. Can anybody tell me what that error means? Here's
> part of the stack trace:
> 
> # 7 check_is_subtype (node: <anon/BinaryOpNode/: 0xd05101>,
>                       lhs: <anon/ConIntRep/: 0x10220d1>,
>                       rhs: FromContextRepClass,
>                       error_msg: <anon/i_vstring/: "second operand">),
> rep-check.cecil:992
> # 6 check_is_subtype (node: <anon/BinaryOpNode/: 0xd05101>,
>                       lhs: <anon/ConIntRep/: 0x10220d1>,
>                       rhs: FromContextRepClass,
>                       error_msg: <anon/closure: 0xefff9129>),
> rep-check.cecil:997
> # 5 is_subtype (lhs: <anon/ConIntRep/: 0x10220d1>,
>                 rhs: FromContextRepClass), rep-classes.cecil:40
> # 3 eval (_anon_closure: <closure>) in is_subtype, rep-classes.cecil:40
> # 2 is_subtype_core_rhs (rep: <anon/ConIntRep/: 0x10220d1>,
>                          rc: FromContextRepClass), rep-classes.cecil:245
> 
> # 1 error (msg: <anon/i_vstring/: "shouldn\'t still have this class as a
> context">), general.cecil:123
> # 0 exit (error_code: -1), system.cecil:7
> 
> 
This archive was generated by hypermail 2b25 : Mon Nov 06 2000 - 14:07:43 PST