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 194219 - scala.tools.nsc.symtab.Types$TypeError: not found: value thir
Summary: scala.tools.nsc.symtab.Types$TypeError: not found: value thir
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 13:39 UTC by alexey.menshov
Modified: 2012-01-27 11:46 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 168262


Attachments
stacktrace (1.32 KB, text/plain)
2011-01-11 13:39 UTC, alexey.menshov
Details
stacktrace (1.90 KB, text/plain)
2011-07-08 16:25 UTC, misterm
Details
stacktrace (1.29 KB, text/plain)
2011-07-09 20:34 UTC, misterm
Details
stacktrace (1.29 KB, text/plain)
2011-08-02 01:17 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexey.menshov 2011-01-11 13:39:05 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows XP

User Comments:
douglasv: typing a def in scala class, every time i type a .  this report appears

GUEST: used code completion for Locale

douglasv: typing lift code

GUEST: typing Normalizer inside scala class.

GUEST: editing the anonymous function to pass into a sort

krischik: just typing along.

douglasv: creating a class reference to a class not yet created

GUEST: In the Scala editor a copied line has been modified.

The line read:

   val timespan = startDate.getTime()

where type of startDate is java.util.Date

as the startDate has to be subtracted from stoptime (another java.util.date), I started to type right before 'startDate':

val timespan = stopTime.[[cursor]]startDate.getTime()

Note that there is a typo in capitalization of stoptime.  The error occurred right after typing the dot before [[cursor]]
(Cursor is the editor's cursor position and not part of the Scala code).

GUEST: just typing simple list cons in Scala

GUEST: Autocompletion on Scala file

GUEST: The problem is not the first one of this kind.

It occurs, when typing Dot  after a misspelled variable name.
When the name is spelled correctly, the Dot opens a pop up showing all available members.




Stacktrace: 
scala.tools.nsc.symtab.Types$TypeError: not found: value thir
   at scala.tools.nsc.typechecker.Contexts$Context.error(Contexts.java:273)
   at scala.tools.nsc.typechecker.Infer$Inferencer.error(Infer.java:213)
   at scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.java:3614)
   at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.java:3969)
   at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.java:4051)
   at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.java:4118)
Comment 1 alexey.menshov 2011-01-11 13:39:10 UTC
Created attachment 104878 [details]
stacktrace
Comment 2 misterm 2011-07-08 16:25:50 UTC
Created attachment 109331 [details]
stacktrace
Comment 3 misterm 2011-07-09 20:34:49 UTC
Created attachment 109348 [details]
stacktrace
Comment 4 misterm 2011-08-02 01:17:54 UTC
Created attachment 109741 [details]
stacktrace