Ticket #67 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Partial class merge problem re: inheritance

Reported by: Chuck Owned by: eric.sellon
Priority: major Milestone: Cobra 0.9
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:


The first partial class takes precedence so if you have:

class X
	is partial
class X
	is partial
	inherits A

Then Cobra thinks that X inherits Object instead of A.


ticket67.patch Download (3.0 KB) - added by eric.sellon 12 years ago.

Change History

Changed 12 years ago by Chuck

  • milestone set to Cobra 0.9

Changed 12 years ago by eric.sellon

Changed 12 years ago by eric.sellon

  • owner set to eric.sellon
  • status changed from new to assigned

One thing to note with this patch: When compiling the compiler with it, it will correctly warn that the class JavaModule? is told to inherit NativeModule? an extra time.

Changed 12 years ago by Chuck

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in changeset:2244

The same thing probably happens for interfaces. I guess we can do a different ticket for that.

Note: See TracTickets for help on using tickets.