Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 209
    • Issues 209
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #901

Closed
Open
Created Jan 22, 2015 by Jochen Burghardt@burghardt

name in contract should refer to logic function, if defined, even in presence of homonymous C++ method

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


Id Project Category View Due Date Updated
ID0002058 Frama-Clang Plug-in > clang public 2015-01-22 2015-02-14
Reporter Jochen Assigned To virgile Resolution fixed
Priority low Severity feature Reproducibility always
Platform Neon-20140301+dev-STANCE-Jan2015 OS - OS Version xubuntu-cfe13.10
Product Version - Target Version - Fixed in Version -

Description :

output:

439.cpp:7:27: calls to functions/methods like 'size' are not allowed Now output intermediate result

However, "size" in line 7 was intended to refer to the logic function from line 4, not to the C++ method of line 5. In fact, line 4 was added just because it isn't yet possible to refer to the "size" from line 5 in a contract.

(Low priority: eventually, the logic function from line 4 will be redundant; for the time being, a workaround is e.g. prefixing all logic functions with "l")

Attachments

  • 439.cpp
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking