Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1274
Closed
Open
Created Nov 10, 2013 by Robert Bernecky@rbeDeveloper

TC isn't much help in error reporting

Bugzilla Link 1102
Created on Nov 10, 2013 19:16
Version svn
OS Linux
Architecture PC
Attachments ipddStar.sac

Extended Description

Created an attachment (id=995)
source code to reproduce fault
sac2c ipddStar.sac -v1
typecheck/new_types.c:904 Assertion "(NTYPE_CON(array) == TC_aks) || (NTYPE_CON(array) == TC_akv) || (NTYPE_CON(array) == TC_akd) || (NTYPE_CON(array) == TC_audgz) || (NTYPE_CON(array) == TC_aud)" failed!
TYgetScalar applied to other than array type!
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
 developer rev 18410 linux-gnu_x86_64
 (Sat Nov  9 16:39:54 EST 2013 by sac)
The problem is in this line:
 Crow = plusDDD( toD( y[colx]), Crow );
plusDDD() exists, but only for scalar-scalar arguments; 
the code wants a vector-vector function, but it does not
exist. It would be nice if it told us that.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking