aboutsummaryrefslogtreecommitdiff
path: root/test/passes/infer-types
diff options
context:
space:
mode:
authorazidar2015-08-19 11:11:51 -0700
committerazidar2015-08-19 11:12:27 -0700
commit4d4d18a6f358a7d0a227dcd999525eb57432eba0 (patch)
tree1d76e3c1540f2b984584bdf90afbbf77ec67519d /test/passes/infer-types
parent51411657aee01568519811659afd0316b6db346f (diff)
Fixed width inference bug where constraints were propagating backwards.
Updated tests to match. #29.
Diffstat (limited to 'test/passes/infer-types')
-rw-r--r--test/passes/infer-types/bundle.fir4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/passes/infer-types/bundle.fir b/test/passes/infer-types/bundle.fir
index 98e48c0c..c24419b9 100644
--- a/test/passes/infer-types/bundle.fir
+++ b/test/passes/infer-types/bundle.fir
@@ -20,10 +20,10 @@ circuit top :
a[8] := UInt(1)
a[9] := UInt(1)
node b = a[2] ;CHECK: node b = a@<t:UInt<3>[10]@<t:UInt>>[2]@<t:UInt>
- read accessor c = a[UInt(3)] ;CHECK: read accessor c = a@<t:UInt<3>[10]@<t:UInt>>[UInt("h3")]
+ read accessor c = a[UInt(3)] ;CHECK: read accessor c = a@<t:UInt<3>[10]@<t:UInt>>[UInt("h3")@<t:UInt>]
; CHECK: Finished Infer Types
; CHECK: Resolve Genders
-; CHECK: read accessor c = a@<t:UInt<3>[10]@<t:UInt>>[UInt("h3")]
+; CHECK: read accessor c = a@<t:UInt<3>[10]@<t:UInt>>[UInt("h3")@<t:UInt>]
; CHECK: Finished Resolve Genders