Skip to content

Commit

Permalink
shorter program in BOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
kushti committed Sep 1, 2024
1 parent 18b404a commit 2461c29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions data/shared/src/main/scala/sigma/ast/methods.scala
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,6 @@ case object SBigIntMethods extends SNumericTypeMethods {
/** Type for which this container defines methods. */
override def ownerType: SMonoType = SBigInt

final val ToNBitsCostInfo = OperationCostInfo(
FixedCost(JitCost(5)), NamedDesc("NBitsMethodCall"))

/** The following `modQ` methods are not fully implemented in v4.x and this descriptors.
* This descritors are remain here in the code and are waiting for full implementation
* is upcoming soft-forks at which point the cost parameters should be calculated and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,7 @@ class BasicOpsSpecification extends CompilerTestingCommons
def getRegTest(): Assertion = {
test("Box.getReg", env, ext,
"""{
| val idx = getVar[Int](1).get
| val x = SELF.getReg[Long](idx).get
| val x = SELF.getReg[Long](getVar[Int](1).get).get
| x == SELF.value
|}""".stripMargin,
null
Expand Down

0 comments on commit 2461c29

Please sign in to comment.