Allowed direction specifiers to be added to variables that are channel bundles when they are passed as arguments

This commit is contained in:
Neil Brown 2009-04-12 13:51:48 +00:00
parent da43dcb3f5
commit aa10b0113d

View File

@ -1914,6 +1914,7 @@ actual (A.Formal am t n)
case stripArrayType t of
A.Chan {} -> var directedChannel <|> chanArray
A.ChanEnd {} -> var directedChannel <|> chanArray
A.ChanDataType {} -> var directedChannel
A.Timer {} -> var timer
A.Port _ -> var port
_ -> var variable