|Issue 911:||Import statements are executed within multiline comments|
|1 person starred this issue and may be notified of changes.||Back to list|
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. Thanks!
Oct 23, 2012
Fixed for the next release. Thanks for the report.
|► Sign in to add a comment|