Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 204
    • Issues 204
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #590
Closed
Open
Created Sep 24, 2015 by Patrick Baudin@baudinDeveloper

ACSL typing fails when performing unification of type variables

ID0002170: This issue was created automatically from Mantis Issue 2170. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0002170 Frama-C Kernel > ACSL implementation public 2015-09-24 2015-09-24
Reporter patrick Assigned To virgile Resolution open
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version - Target Version - Fixed in Version -

Description :

Frama-C fails while typing the given ACSL axiomatic.

Additional Information :

Typing is succesful when axiom "a" is replaced by: @ axiom a: P(aList,Nil);

Steps To Reproduce :

> cat list.i
//@ type List<A> = Nil | Cons(A,List<A>);

/*@ axiomatic L {
  @   predicate P<B>(List<B> l1, List<B> l2);
  @   logic List<integer> aList{L} ;
  @   axiom a: P(Nil, aList);
  @ }
  @*/
> frama-c list.i
...
../tests/list.i:8:[kernel] user error: invalid implicit conversion from ℤ to A#4
Edited Mar 29, 2021 by Virgile Prevosto
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking