Bug 78261 - field pattern with "void" type should be compile-time error
Summary: field pattern with "void" type should be compile-time error
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2.1   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 1.5.0 M3   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 01:58 EST by Erik Hilsdale CLA
Modified: 2005-08-19 10:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Hilsdale CLA 2004-11-10 01:58:38 EST
We really should barf early on

  get(void i)

as opposed to just compiling through and treating it as something that'll never
match.  I rated this as minor since this is just an error message issue.
Comment 1 Adrian Colyer CLA 2005-03-23 08:55:06 EST
for aj5m3 whilst we're working in the parser...
Comment 2 Adrian Colyer CLA 2005-08-19 10:50:20 EDT
nice to have an easy bug for a quick moral boost :)

We now put out an error, "fields cannot have a void type".
Fix committed in tree.