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 394
    • Issues 394
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2400
Closed
Open
Created Apr 06, 2024 by Ruben Hensen@rhensen

User defined type "complex" cannot be uniquely determined

Complex types crash when used with type patterns

module ComplexReturnTypeBug;

use Structures: {complex};

// This works with -check c
// complex[*] complex_equal(complex[*] a) 
// {
//   return a;
// }

// These does not work with -check c
// complex[*] complex_equal(complex[d1:shp1] a) 
// {
//   return a;
// }

complex[d1:shp1] complex_equal(complex[*] a) 
{
  return a;
}

sac2c 1.3.3-MijasCosta-1187-gd6b95 build-type: RELEASE built-by: "rubenhensen" at 2024-04-06T22:46:02

Edited Apr 07, 2024 by Ruben Hensen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking