Community
Participate
Working Groups
If we couldn't locate the IR for a qualified part name (e.g. deserialization exception), then we attempt to find the .egl file so that we can create error markers on the resource. Right now the code just iterates through the source folders doing a case-insensitive search for a file whose name is pkg/part.egl. This won't work for all part types though - a record, for example, can be in a file whose name does not match the record part name (blah.egl can contain record foorec). We should use the ProjectInfo cache to locate the .egl file. Not only will this work in all cases, but it'll be faster.
Changed GenerationQueue.java to use the ProjectInfo for locating the .egl file. This means we can check if the part has any generators earlier, and if it doesn't then we can skip deserializing it from disk.
Verified