| Issue 158: | Type.getClass fails when using an instance typed as interface | |
| 1 person starred this issue and may be notified of changes. | Back to list |
If you have SomeTestClass which implement SomeTestInterface this happens: var testInstance1 = new SomeTestClass(); var testInstance2:SomeTestInterface = testInstance1; trace(Type.getClass(testInstance1)); trace(Type.getClass(testInstance2)); first trace is "SomeTestClass", second trace is "null". but both should return "SomeTestClass". This worked in 2.08.0. NME Testproject: http://dl.dropbox.com/u/27447235/type_test.zip
Feb 29, 2012
Project Member
#1
gameh...@gmail.com
Status:
Fixed
|