I have the following bug with the new variant code. The following code triggers a Pike_fatal with PIKE_DEBUG. I don't know if the corresponding check is wrong or there is an actual bug. The problem seems to be triggerd by having both a variant and a compiler error.
void bar() {
blub = 4;
}
variant object foo(int a) {
return 0;
}
int main(int argc, array(string) argv) {
return 0;
}
arne
