Book a Demo

Author Topic: error importing source  (Read 2865 times)

mansour77

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
error importing source
« on: January 17, 2007, 12:06:01 pm »
I am getting this error trying to import a VB.NET class:

There was an error parsing C:\VisualStudioProjects\MyProject\MyClass.vb on line 49.  Unexpected symbol: [

and in the class file, line 49 contains somehting similar to:

Private Sub LoadClass(ByVal ExternalFile As [Assembly], ByVal ClassType As Type)


PLease note the code compiles and run fine in VS.






«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: error importing source
« Reply #1 on: January 17, 2007, 12:10:17 pm »
Is there some way you can rename the [Assembly] type - which I'm assuming is something you've defined elsewhere?

If so, see if the square brackets are causing the problem.

Regardless, you should report this to Sparx as a bug. Use the Support link at the top of your forum page, or from the EA main menu choose Help | On-line Resources | Bug Report Page.
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: error importing source
« Reply #2 on: January 17, 2007, 02:37:56 pm »
I can confirm that this is an issue with the escaped keyword as a type.  We'll fix this as soon as possible.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: error importing source
« Reply #3 on: January 17, 2007, 02:45:40 pm »
Thanks Simon,

I was guessing there, but it's good to know you guys have it in your sights.

David
No, you can't have it!