This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182803 - Return types inferred as unqualified
Summary: Return types inferred as unqualified
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 15:51 UTC by Erno Mononen
Modified: 2010-03-27 06:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2010-03-25 15:51:47 UTC
E.g.

module Bar
 class Foo
  def baz
    self
  end
 end
end

The return type of Bar::Foo#baz is inferred as Foo, whereas the correct type would be Bar::Foo
Comment 1 Erno Mononen 2010-03-26 12:14:42 UTC
Fixed in 68765f828529.
Comment 2 Quality Engineering 2010-03-27 06:18:12 UTC
Integrated into 'main-golden', will be available in build *201003270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/68765f828529
User: Erno Mononen <emononen@netbeans.org>
Log: #182786 and #182803
- 182786: Return types of methods with rescue blocks not inferred correctly
- 182803: Return types inferred as unqualified