Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Class Diagram] Bug with type with multiple generic parameters in type with multiple generic parameters #5857

Closed
ArchiDog1998 opened this issue Sep 13, 2024 · 1 comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@ArchiDog1998
Copy link

Description

Hi I am trying to create a type like this Dictionary<double, Dictionary<double, Curve>>. And this is what I got.

classDiagram
class Foo{
	- Dictionary~double, Dictionary~double, Curve~~ curves
}
classDiagram
class Foo{
	- Dictionary~double, Dictionary~double, Curve~~ curves
}
Loading

But I might expect this to be like this. (learned from #3188 (comment))

classDiagram
class Foo{
	- Dictionary&lt;double, Dictionary&lt;double, Curve>> curves
}
Loading

Is that a bug?

Steps to reproduce

Input things like this:

classDiagram
class Foo{
	- Dictionary~double, Dictionary~double, Curve~~ curves
}
classDiagram
class Foo{
	- Dictionary~double, Dictionary~double, Curve~~ curves
}
Loading

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@ArchiDog1998 ArchiDog1998 added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 13, 2024
@jgreywolf
Copy link
Contributor

Closing as duplicate of #4937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants