Type Specifier confuses editor?

Post Reply
terrymcg
Posts: 85
Joined: Mon Apr 08, 2019 12:35 am

Type Specifier confuses editor?

Post by terrymcg »

Hi Cherry Folks...

FYI, I was experimenting with Generic Types the other day and noticed that including a type specification in "<type>" form in a class definition confuses the "module explorer" part of the editor in VMD.

This example shows what I mean (and isn't intended to compile/run):
Image
You can see there's no entry for class Foo, but its two member functions are displayed.

Getting rid of the whole "Implements" part puts things right:
Image
Now we can see Foo again.

But it isn't "Implements" that's causing the confusion, it's "<Integer>":
Image
Really, it seems to be the fact that there are "<>" characters that's the root of the confusion.

It's not a big deal as the confusion doesn't affect the compile-ability of the code, but it isn't quite expected behaviour either.

Or am I the confused one? ;)

Cheers,
--
Terry McG
CherryRuss
Posts: 27
Joined: Sat Oct 20, 2018 9:29 pm

Re: Type Specifier confuses editor?

Post by CherryRuss »

Hi Terry.

Yep, that's a bug. Thanks for catching it. It should be fixed in the next build.
terrymcg
Posts: 85
Joined: Mon Apr 08, 2019 12:35 am

Re: Type Specifier confuses editor?

Post by terrymcg »

Hi Russ...

Thanks!

It's just cosmetic, but... Sweet! ;)

Cheers,
--
Terry McG
Post Reply

Return to “Module Designer”