Comments (4)
stream<T1,C1> <: stream<T2,C2>
iff T1 <: T2
& C1 <: C2
.
Therefore the stream subtypedata can be modeled as [T, C]
.
from ballerina-lang.
Having a test failure for type R stream<R?>
. (Crashing with a SO as we do not support stream recursions) Currently, this type is allowed in the compiler.
However, type R map<R?>
, type R R?[]
, type R future<R?>
, type R typedesc<R?>
are not allowed.
type R [R?]
is allowed.
from ballerina-lang.
As per #30101 (comment) stream recursions has to be supported. Support added with 3429d51.
from ballerina-lang.
Closing with #43000.
from ballerina-lang.
Related Issues (20)
- [Bug]: `key` function of sorting of an array not working with short lambda syntax
- [Bug]: readonly bit is not getting set correctly with `cloneWithType` on xml values
- [Task]: Improve test cases for supporting resources
- [Task]: Implement Tagged data types semtypes in runtme
- [Task]: Implement future semtype in runtime
- [Task]: Implement handle semtype in runtime
- [Task]: Implement stream semtype in runtime
- [Bug]: Boolean types are not shown in API docs HOT 2
- [Bug]: Intermittent exceptions in Debugger When Stepping Over Code
- [Bug]: ballerina uses latest version instead of custom dependency field
- [Bug]: Ballerina brew installation uses the local machine jre
- [Task]: Implement typedesc semtype in runtime
- [Improvement]: Reduce the search space for `mappingInhabited` with large number of negative atoms HOT 2
- [Improvement]: Rename runtime API for `isRemoteEnabled`
- [Bug]: Transaction context doesn't pass correctly when calling Ballerina function using Java Invoke APIs
- [Bug]: Static resources are not included in the native image when build via a single file
- [Question]: Identifying resevered keyword usages in Identifier Tokens HOT 4
- Remove the metadata(annotations) from the resource function documentation view
- [Task]: Create test artifacts for dead code elimination
- [Task]: Performance test on the nutcracker branch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ballerina-lang.