Skip to content
Browse files

Fix assertion failure in part_signal_driver

  • Loading branch information...
1 parent a595a15 commit 73696dbcd1791ace4f080060f7cba55920fdb67e @nickg committed May 13, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/driver.c
View
6 src/driver.c
@@ -72,7 +72,11 @@ static void whole_signal_driver(tree_t ref, tree_t proc)
static void part_signal_driver(tree_t ref, tree_t proc)
{
tree_t value = tree_value(ref);
- assert(tree_kind(value) == T_REF);
+
+ if (tree_kind(value) != T_REF) {
+ part_signal_driver(value, proc);
+ return;
+ }
tree_t decl = tree_ref(value);
assert(tree_kind(decl) == T_SIGNAL_DECL);

0 comments on commit 73696db

Please sign in to comment.
Something went wrong with that request. Please try again.