google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Attribute conflicts with immutable and autounique attributes #502

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

In Java and PHP:
class Student1a
{
  immutable String name;
  canSetName;
}

class Student2
{
  autounique id;
  nextId;
}

In Ruby:
class Student1b
{
  immutable String name;
  can_set_name;
}

What is the expected output? What do you see instead?
Expected: Errors
Actual: Successfully compile and got two "canSetName" and "nextId" attributes

See also issue 501

Original issue reported on code.google.com by ckchan.cs on 9 Feb 2014 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 13 Feb 2014 at 8:54

GoogleCodeExporter commented 9 years ago

Original comment by rof...@gmail.com on 12 May 2014 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 5 Aug 2014 at 6:32