AIDE Bug

15 views
Skip to first unread message

thornto...@gmail.com

unread,
Sep 27, 2014, 11:08:06 PM9/27/14
to andro...@googlegroups.com



I have found what I think is a bug in AIDE's compiler.  I took a Samsung Galaxy Tab tablet, downloaded the following project from GIT hub: https://github.com/viridian1138/VectorVictor.git
and then proceeded to compile.  After some tweaking I was on the Sept. 27 "Remove Unused Imports" version of the repository (see https://github.com/viridian1138/VectorVictor/commits/master ) and AIDE was still reporting one error in the compile.  It was stating that the expression in line 1946 of Angle2Base.java was returning type Object and hence couldn't be assigned to Angle2Evt.  I maintain that the generic-bound type of the expression is indeed Angle2Evt and hence the assignment should work.

To make it easier to see the issue, I checked-in a typecast as the "Try to work around bug in AIDE" version of the repository (see https://github.com/viridian1138/VectorVictor/commits/master ) which makes the code compile in AIDE.  However, I contend that the typecast shouldn't be necessary as the types should match.  In Eclipse with ADK, the code compiles normally without the typecast.  AIDE thinks that the expression type is Object, where the actual type of the expression is Angle2Evt.  I'm claiming this is a bug in AIDE, although I am open to arguments to the contrary.

How would I file a proper AIDE bug report about this?



Sincerely,



Thorn Green



Android IDE

unread,
Sep 28, 2014, 1:40:49 AM9/28/14
to andro...@googlegroups.com

Thanks for your report. Posting it here is fine.

--
--
AIDE - Android Java IDE mailing list
andro...@googlegroups.com
http://groups.google.com/group/android-ide?hl=en

---
You received this message because you are subscribed to the Google Groups "AIDE - Android Java IDE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ide...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages