[mtasc] Oops, 2 Mains
ncannasse at motion-twin.com
Sat Aug 20 14:09:09 CEST 2005
> Ha! This had me stumped for a while.
> From my main (entry point) Class, I was trying to instantiate another
> Class that also had a public static main() method. No error message was
> generated -- at least not one that showed up in Flashout -- but I was
> unable to compile the project. Not really a bug, but it would be nice
> to generate an error message to prevent people like me from doing
> something stupid.
It should generate an error message "duplicate main entry point" or
something around that.
More information about the mtasc