Forum Post: RE: USING statements and their order

  • Thread starter Thread starter bleicher
  • Start date Start date
Status
Not open for further replies.
B

bleicher

Guest
The Compiler looks for classes in the USING statement order with the caveats noted below: The following steps are taken by the Compiler to resolve an unqualified type name: • Compare the unqualified name against the last node of each type-name specified in a USING statement in the order of the USING statements. If the names are equal, we have a match. The compiler then checks to make sure the type exists on PROPATH. If it doesn’t, there is an error. • If not yet resolved, replace the “*” of each package.*, in the order of the USING statements, with the unqualified name. Check the resulting partially qualified file name to see if type exists on PROPATH. If so, we have a match.

Continue reading...
 
Status
Not open for further replies.
Back
Top