AGS Editor

Further development of AGS Editor

Bug Issue: Enum constants conflict with struct members

Pages: [1]

Crimson Wizard

  • AGSer
  • Posts: 8,581
« on: 24 Aug 2017, 17:40 »
Consider following code:

Code: Adventure Game Studio
  1. enum MyEnum { Name1, Name2, Name3 };
  2.  
  3. struct MyStruct
  4. {
  5.     import void Name1(); // this line causes "Name1 already defined" error
  6. }
  7.  

Pages: [1]

Issue Details

  • Reported
    24 Aug 2017, 17:40
  • Updated
    24 Aug 2017, 17:40
  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    Adventure Game Studio 3.4
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    (none)

Tags



Powered by: SMF Project Tools 0.5.4 © Niko Pahajoki 2007-2011