[vala/0.46] vala: SemanticAnalyzer.get_instance_base_type() is not allowed to return null
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.46] vala: SemanticAnalyzer.get_instance_base_type() is not allowed to return null
- Date: Tue, 19 May 2020 16:29:05 +0000 (UTC)
commit 402d4263392c6c15f93c4404169374523a4daef4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue May 5 09:32:48 2020 +0200
vala: SemanticAnalyzer.get_instance_base_type() is not allowed to return null
This is private internal API.
vala/valasemanticanalyzer.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vala/valasemanticanalyzer.vala b/vala/valasemanticanalyzer.vala
index c29b1aee1..b25dac67e 100644
--- a/vala/valasemanticanalyzer.vala
+++ b/vala/valasemanticanalyzer.vala
@@ -811,7 +811,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.data_type is ObjectTypeSymbol) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]