Skip to content

Commit

Permalink
better guid ueba repr, compilative fixlens, ueba sanity checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pshirshov committed Dec 19, 2024
1 parent 214d737 commit 00a8942
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ object BaboonEnquiries {
case Builtins.lst => BinReprLen.Variable
case Builtins.set => BinReprLen.Variable
case Builtins.opt =>
binReprLenImpl(dom, args.head, visited + tpe).add(1)
// binReprLenImpl(dom, args.head, visited + tpe).add(1)
BinReprLen.Variable // N or 1...
case u =>
throw new IllegalStateException(
s"BUG: unknown collection type $u"
Expand Down
4 changes: 1 addition & 3 deletions src/test/resources/baboon/pkg0/pkg03.baboon
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,12 @@ root adt T5_A1 {

data T7_D2 { // const size in ueba
f1: i32
f2: opt[i32]
f2: uid

}
root data T7_D1 { // const size in ueba
f1: i32
f2: opt[i32]
f3: T7_D2
f4: opt[T7_D2]
}

//
Expand Down

0 comments on commit 00a8942

Please sign in to comment.