From 65bf1e1344b2f7045049e42e65a69f8328f51565 Mon Sep 17 00:00:00 2001
From: ballerina-bot
If a query-construct-type is specified, then it determines the basic type of the
-result. A query-select-expr that constructs a mapping or stream must specify a
-query-construct-type of 6.35.10 Select clause
map
or stream
respectively.
+result. A query-select-expr that constructs a mapping must specify a
+query-construct-type of map
.
When constructing a table, the key-specifier specifies the key
sequence of the constructed table in the same way as with a
table-constructor-expr.
@@ -7873,7 +7873,7 @@ 6.35.10 Select clause
contextually expected type, then the basic type of the value constructed is the
basic type of expression following in
; it is a compile-time error
if the static type of this expression is not a subtype of one of the basic types
-list, table, string or xml.
+list, table, string, stream or xml.
When the query-select-expr is constructing a value of basic type list, mapping, table @@ -14481,6 +14481,8 @@
isolated
for an object constructor expression.stream
keyword.
If a query-construct-type is specified, then it determines the basic type of the
-result. A query-select-expr that constructs a mapping or stream must specify a
-query-construct-type of map
or stream
respectively.
+result. A query-select-expr that constructs a mapping must specify a
+query-construct-type of map
.
When constructing a table, the key-specifier specifies the key
sequence of the constructed table in the same way as with a
table-constructor-expr.
@@ -7318,7 +7318,7 @@ type determines the basic type of the value constructed. If there is no
contextually expected type, then the basic type of the value constructed is the
basic type of expression following in
; it is a compile-time error
if the static type of this expression is not a subtype of one of the basic types
-list, table, string or xml.
+list, table, string, stream or xml.
When the query-select-expr is constructing a value of basic type list, mapping, table @@ -13986,6 +13986,8 @@ public isolated function last(Type v, Type... vs) returns Type = external;
isolated
for an object constructor expression.stream
keyword.