File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
testsuite/bsc.bugs/github/gh309 Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ package ICE where
2+
3+ import Vector
4+
5+ type BitVector n = Vector n (UInt 1 )
6+
7+ struct Compress n = {
8+ x :: BitVector n ;
9+ } deriving (Bits )
10+
11+ foo :: BitVector n -> Compress (TAdd n 1 )
12+ foo = _
13+
14+ bar :: Vector 8 (BitVector n ) -> Compress (TAdd n 2 )
15+ bar xs =
16+ let a :: Compress (TAdd n 1 )
17+ a = _
18+ in foo a.x
Original file line number Diff line number Diff line change 1+ # for "make clean" to work everywhere
2+
3+ CONFDIR = $(realpath ../../..)
4+
5+ include $(CONFDIR ) /clean.mk
Original file line number Diff line number Diff line change 1+ # GitHub Issue #309
2+
3+ # This triggered an internal error during ISyntaxCheck
4+ # because kind information was being lost
5+ #
6+ compile_pass ICE.bs
You can’t perform that action at this time.
0 commit comments