summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-05-05 09:32:48 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-05-05 09:35:25 +0200
commitd679f72de1fc7d8dfff2b6998566d0c809340760 (patch)
tree80c978cec6c659c83f22ca4bfca50e711b2e0b01
parentd729273d5b2a98bbf252d46b8bd890cbd52aa51e (diff)
downloadvala-d679f72de1fc7d8dfff2b6998566d0c809340760.tar.gz
vala: SemanticAnalyzer.get_instance_base_type() is not allowed to return null
This is private internal API.
-rw-r--r--vala/valasemanticanalyzer.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valasemanticanalyzer.vala b/vala/valasemanticanalyzer.vala
index d6741f230..1404f13cd 100644
--- a/vala/valasemanticanalyzer.vala
+++ b/vala/valasemanticanalyzer.vala
@@ -849,7 +849,7 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
return true;
}
- private static DataType? get_instance_base_type (DataType instance_type, DataType base_type, CodeNode? node_reference) {
+ private static DataType get_instance_base_type (DataType instance_type, DataType base_type, CodeNode? node_reference) {
// construct a new type reference for the base type with correctly linked type arguments
DataType instance_base_type;
if (base_type.type_symbol is ObjectTypeSymbol) {