Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 180388

Summary: Superclass only got parsed when fully-qualified classname given.
Product: [Technology] DLTK Reporter: Michael Klishin <michael.s.klishin>
Component: RubyAssignee: Mikhail Kalugin <mikhail.kalugin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.95   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Base class
none
Subclass used to reproduced bug
none
Spec to check against none

Description Michael Klishin CLA 2007-04-01 11:46:05 EDT
Build ID: I20070323-1616

Steps To Reproduce:
1. See two files attached, add them to new project and require them both in one single runned file.
2. Try to have @templates completed from subclass when only classname (without module::class fully-qualified classname used) used.
3. Try to have it completed when fully-qualified classname used. It works.


More information:
RSpec launch shows that Ruby VM uses short classname the same way when classes are in the same package. At least, I had no exceptions and all specs I used to write this code actually passed without failures. I attached it as 3rd file.
Comment 1 Michael Klishin CLA 2007-04-01 11:46:57 EDT
Created attachment 62603 [details]
Base class
Comment 2 Michael Klishin CLA 2007-04-01 11:47:23 EDT
Created attachment 62604 [details]
Subclass used to reproduced bug
Comment 3 Michael Klishin CLA 2007-04-01 11:47:44 EDT
Created attachment 62605 [details]
Spec to check against
Comment 4 Mikhail Kalugin CLA 2007-05-10 07:50:32 EDT
Fixed. Superclass resolving are greatly improved now.
Comment 5 Eclipse Webmaster CLA 2007-07-29 09:22:16 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991
Comment 6 Andrey Platov CLA 2008-05-26 02:49:55 EDT
bulk change: fixed in 0.95