View Issue Details

IDProjectCategoryView StatusLast Update
00312262.x IDE BugsCompilingPublic2019-08-19 11:31
ReporterDanAssigned ToAlan Savage 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Platform-OSWindows 10OS VersionPro x64
Product Version2.2.3 
Target Version2.2.4Fixed in Version2.2.4 
Summary0031226: Compiling: Changing the creation order of instances can make compiler errors link to the wrong instance
DescriptionChanging the creation order of instances within the room can make compiler errors relating to instance creation code link to the wrong instance if you then double-click the error line in the Compile Errors tab.

You can see this in the attached sample if you try running it and then double-clicking the top error line when it appears in the Compile Errors window.
Steps To Reproduce1. Create a new project.
2. Create an object.
3. Drag two instances of the object into your room.
4. Add some valid code to one instance, then add some garbage to the other so you get an error.
5. Close the creation code for both instances if you haven't already.
6. In the room editor's Instance Creation Order panel, drag the instance with the error to be at the top of the panel.
7. Close the room editor.
8. Compile your project, observe this will fail.
9. Double-click the compiler error and observe this takes you to the valid code, not the one with the error.
Repro: 100%
TagsCompiler, IDE
2.x IDE Found In2.2.3.436
2.x Runtime Found In2.2.3.344
2.x IDE Verified In9.2.1.1945
2.x Runtime Verified In9.9.1.1531



2019-07-26 09:05


testcreationcodeerror.yyz (20,257 bytes)