https://github.com/elementary/code/pull/901
Index: plugins/outline/Vala/ValaSymbolOutline.vala
--- plugins/outline/Vala/ValaSymbolOutline.vala.orig
+++ plugins/outline/Vala/ValaSymbolOutline.vala
@@ -61,7 +61,11 @@ public class Code.Plugins.ValaSymbolOutline : Object,
public void parse_symbols () {
var context = new Vala.CodeContext ();
- context.profile = Vala.Profile.GOBJECT;
+#if VALA_0_50
+ context.set_target_profile (Vala.Profile.GOBJECT, false);
+#else
+ context.profile = Vala.Profile.GOBJECT;
+#endif
context.add_source_filename (doc.file.get_path ());
context.report = new Report ();
if (cancellable != null)