My favorites | Sign in
Project Home Downloads Wiki
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 911: Import statements are executed within multiline comments
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Closed:  Oct 2012

Sign in to add a comment
Reported by, Nov 21, 2011
I was trying to port some code I had to processing js so I started by commenting out the libraries to see what dependencies I had to resolve. Lo and behold it still compiled.

It seems when import statements are within /*multiline comments*/ the import statements are still executed. If it is a single line //comment the import is not exectued as expected. Attached is a simple example demonstrating this. 

Note that when you change the multiline comment to a single line the compiler complains as expected.

I did this this with 1.5.1 and 2.0a4 and seemed to be a problem with both. Also tried it with some user libraries rather than the included ones, same issue.

366 bytes   Download
Oct 23, 2012
Project Member #1
Fixed for the next release. Thanks for the report.
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting