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
  • #1667
Closed
Open
Created Jan 11, 2006 by Robert Bernecky@rbeDeveloper

confusing error message

Bugzilla Link 186
Created on Jan 11, 2006 22:46
Resolution WONTFIX
Resolved on Nov 19, 2009 00:13
Version 1.00beta
OS Linux
Architecture PC

Extended Description

This message comes from sac2c now and then, when my coding fingers haven't been
sharpened recently:
line 196
ERROR: argument #2 of "_modarray_" should be legal index into argument #1;
ERROR: types found: int[1]{0}  and  bool[0]
The problem is that the argument numbers are #2, #1, so it is not at
all clear (particularly when the line number is completely wrong) whether
the types are in order #2 #1 or #1 #2. Perhaps something along these
lines would be less confusing:
ERROR: Argument #2 ( int[1]{0} ) of "_modarray_" should be legal
index into argument #2 ( bool[0] ).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking