Commit 5fd7b8ce authored by Jürg Billeter's avatar Jürg Billeter

Report error on incorrect use of [ModuleInit]

Fixes bug 616805.
parent fc19d3fd
......@@ -352,6 +352,9 @@ public class Vala.CCodeBaseModule : CCodeModule {
if (!in_plugin) {
Report.error (context.module_init_method.source_reference, "[ModuleInit] requires a parameter of type `GLib.TypeModule'");
var dbus_ns = root_symbol.scope.lookup ("DBus");
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment