We're updating the issue view to help you get more done. 

Exception trying to apply a derived Mixin to a Type that has the BaseType of the Mixin applied via its own BaseType

Description

Introduction

Bug was found in ActaNova. If you have access see ticket AN-15442

Description

A mixin (MixinA) is applied to a BaseType (BT), but extends an Interface (IInterface), that is applied to a derived type of BT
A second mixin derives from MixinA and extends to a derived type ob BT (DT).
DT in the inheritance hierarchy is after a type which has IInterface applied.

Trying to instantiate a type that derives from DT throws the following exception. Taken from attached code file executed as a UnitTest in RAPT.

Sample

See attached Reproduction.cs for a Reproduction using basic classes including tests trying to create instances via ObjectFactory.
File was tested in ActaNova and RAPT, with the same results.
Attached is the RAPT iteration

Assignee

Unassigned

Reporter

User known

Labels

None

Components

Fix versions

Affects versions

Priority

Normal
Configure