FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1519 : nhelpful syntax error message for extra > in type argument
Last modified: 2010-03-17 12:50
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
heuermh
Assigned To:
MrFeinberg
Attachment
Type
Created
Size
Actions
Description
: Opened: 2010-03-16 12:56
version:
processing-0180
error:
processing.app.debug.RunnerException: (currentLtLevel != 0) || ltCounter ==
currentLtLevel
at processing.app.Sketch.preprocess(...
source:
import java.util.ArrayList;
import java.util.List;
void setup()
{
List<String> list = new ArrayList<String>();
List<List<String>>> listOfLists = new ArrayList<List<String>>();
listOfLists.add(list);
}
In this case PDE fails to compile and also fails to provide a compiler
error message.
Additional Comment
#1 From heuermh 2010-03-16 13:00
To be more specific, PDE should fail to compile and should complain about
the extra ">" at String>>>. I should have used a different summary.
Additional Comment
#2 From MrFeinberg 2010-03-16 13:19
Fixed.
Additional Comment
#3 From MrFeinberg 2010-03-16 13:21
Ben, please change the title of this bug to "Unhelpful syntax error message
for extra > in type argument" or something