After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572886 - ModuleInit doesn't register types if they are processed after the ModuleInit func.
ModuleInit doesn't register types if they are processed after the ModuleInit ...
Status: RESOLVED DUPLICATE of bug 553928
Product: vala
Classification: Core
Component: Code Generator
0.5.x
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-23 18:47 UTC by rainwoodman
Modified: 2009-03-03 01:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rainwoodman 2009-02-23 18:47:59 UTC
Please describe the problem:
ModuleInit doesn't register types if they are processed after the ModuleInit func.


Steps to reproduce:

Suppose there are three files A.vala B.vala module.vala.
ModuleInit is declared in module.vala, A.vala has class A, B.vala has class B.

If valac is invoked as
valac A.vala B.vala module.vala

in module.c all types are registered.
If valac is invoked as
vala module.vala A.vala B.vala
in module.c no types are registered.

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 rainwoodman 2009-03-03 01:52:55 UTC

*** This bug has been marked as a duplicate of 553928 ***