From: SourceForge.net <no...@so...> - 2007-04-12 03:52:10
|
Bugs item #1698921, was opened at 2007-04-11 20:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1698921&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compiler integration Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: foreach not applicable to expression type Initial Comment: DrJava reports "Error: foreach not applicable to expression type" when using an expression type that is Iterable. This error only occurs when compiling from within DrJava (and not when compiling from the command-line using javac). I've attached a small example that illustrates the differing behavior. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1698921&group_id=44253 |