-
Notifications
You must be signed in to change notification settings - Fork 472
Labels
coreTopics concerning the core segments of the compiler (frontend, midend, parser)Topics concerning the core segments of the compiler (frontend, midend, parser)fixedThis topic is considered to be fixed.This topic is considered to be fixed.
Description
Take this obvious invalid code:
action NoAction(){}
extern void f<T>(in T a);
control eq0()
{
table t {
const size = 100;
actions = {NoAction;}
}
apply {
f<_>(t);
}
}
The compiler produces:
In file: /home/apinski/src/p4/p4c/frontends/p4/typeChecking/typeChecker.cpp:189
Compiler Bug: Could not find type of t
Metadata
Metadata
Assignees
Labels
coreTopics concerning the core segments of the compiler (frontend, midend, parser)Topics concerning the core segments of the compiler (frontend, midend, parser)fixedThis topic is considered to be fixed.This topic is considered to be fixed.