Skip to content

Conversation

mario-bucev
Copy link
Collaborator

As requested by @vkuncak.
Removes the CovariantList benchmark since it is now in the library.

@@ -23,7 +23,7 @@ abstract class AbstractLibrarySuite(opts: Seq[inox.OptionValue[_]]) extends AnyF
}

protected def keep(tr: ast.Trees)(fd: tr.FunDef): Boolean = fd match {
case fd if fd.flags.exists(_.name == "unchecked") => false
case fd if fd.flags.exists(f => f.name == "unchecked" || f.name == "synthetic") => false
Copy link
Collaborator Author

@mario-bucev mario-bucev Apr 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Synthetic functions are filtered out before being passed to the type checker when using the usual filter. Since the LibrarySuite is using a custom filter, removing synthetic option was also intended?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe @samarion would have a clue.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For context, the type checker says that ObjectPrimitiveSize does not have visibility on Object (since it is mutually recursive with it - probably due to the encoding of ::).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea, sorry :) Maybe @jad-hamza ?

@vkuncak vkuncak merged commit b5d994d into epfl-lara:main Apr 26, 2023
@mario-bucev mario-bucev deleted the covcollection branch April 26, 2023 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants