Community
Participate
Working Groups
Build Identifier: 20110808 with IDE projects from IBM CVS on 0810 Organize imports creates imports for: import eglx.lang.basicprogram; import eglx.lang.syslib; package pkg; import eglx.lang.basicprogram; import eglx.lang.syslib; program pgm type BasicProgram {} const constantName string = "literalString"; variableName string; function main() SysLib.writestdout(constantName); end end Reproducible: Always Steps to Reproduce: 1. Create a new program named pgm. 2. Add statement to main function: SysLib.writestdout(constantName); 3. Organize imports. 4. 2 imports are added for eglx.. files.
Matt: This behavior occurs because EDT system now does not regard Syslib,BasicProgram as SysAnnotation. You can check from OrganizeImportsVisitor#addToResolvedTypes(IBinding binding) methods, now IAnnotationTypeBinding for Syslib,BasicProgram are not regarded as SysAnnotation.
Zhi, the idea of "system parts" is probably going to be different in EDT than in RBD. Paul has two enhancements (bug 354136 and bug 354137) which need to be completed before this problem can be fixed. Those enhancements are targeted for iteration 13, so I changed the target of this bug for iteration 13.
Still a problem in 20110915. Waiting on fixes from Paul. See comment.
The two enhancements (bug 354136 and bug 354137) are deferred, so this bug will have to be deferred as well. Moving it out of 0.7.
defer this since the dependents are deferred
I'm not sure how or when this was fixed, but it doesn't happen anymore.
Moving old fixed bugs from the RESOLVED state to CLOSED.