Comments (3)
Since the error is logged exactly at firstValue
field's peer-worker
, I think It is clear enough for the user, where the type mismatch is.
Plus, I would like to keep the error message short and simple.
from ballerina-lang.
@hasithaa your thoughts on this?
from ballerina-lang.
As per the quick offline discussion, the current message is ok as a compiler diagnostic, and is consistence with our common diagnostic incompatible types: expected 'X', found 'Y'
, that we log at the other places.
However, for the visual editor, we may need a transformation layer, to convert diagnostics( in general) in a way that makes sense as a visual editor diagnostic. Hence keeping the issue open.
from ballerina-lang.
Related Issues (20)
- [Bug]: Annotations in the service type is not visible at the service object at runtime HOT 5
- [Bug]: Dependently-Typed Functions Return Invalid Types when Assigned to an Error HOT 1
- [New Feature]: Provide a user interface to execute Ballerina lifecycle commands
- [New Feature]: Provide a `try-it` code lens for connector actions
- [Improvement]: Improve the code coverage of ballerina lang cli module
- [Bug]: Compiler crash when using `xml:map` with an xml union type HOT 1
- [Bug]: Ballerina program crashes with a CCE when `self` is used as a variable HOT 1
- [Improvement]: Reduce the search space for `listInhabited` with large number of negative atoms
- [Bug]: Worker send hangs when the worker returns early inside if-else blocks HOT 1
- [Bug]: `bal build` showing contradictory behaviours when building with update 9 followed by update 8
- Work on PoC
- [Bug]: `gradle clean` not working on windows
- [Improvement]: Remove unused git submodules
- [Bug]: Incompatible types error when defining services with custom listeners
- [Bug]: Incorrect dependency resolution when generating dependencies programmatically via the project API from Ballerina tools HOT 3
- [Bug]: The order of type definitions influences mapping subtype relation HOT 6
- [Bug]: Referred type is wrong for regxp:RegExp
- [Task]: POC on applying Java virtual threads for Ballerina lock implementation
- [Bug]: Invalid ambiguous type for union of same xml subtype sequence.
- [Task]: Refactor `unescapeJava()` usage in Ballerina Runtime
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.