• Post Reply Bookmark Topic Watch Topic
  • New Topic

Illegal start of expression error  RSS feed

 
John Vegas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I keep getting this error upon compiling and can't see the problem with it.

The error is on line "45: 15"

 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EntityDef entityDef = cache[anInt56] = = new EntityDef(); There is an extra equal sign between the close of the array and the new operator. It should be EntityDef entityDef = cache[anInt56] = new EntityDef();
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!