Comments (6)
Can you provide some context for the .map expression? I’ll be able to diagnose the problem quicker if I have access to your demo. Thanks
from manifold.
I got a zip file ready but forgot to send it. Here it is.
from manifold.
Thanks. I've diagnosed the problem. Generally, a method with an auto
return type that resolves to an anonymous type, such as a tuple type, cannot be used as a method reference. As you've discovered, you must instead use a lambda.
I'm addressing this issue by adding a compiler message indicating that lambda usage is required here. This change will be available in the next manifold release later in the week. Thanks for reporting this!
from manifold.
fix available with release 2023.1.30
from manifold.
Hi. Is there really no way how to make it work with method reference? Method references are used a lot and it would be nice to support it.
from manifold.
It’s not impossible. I plan to circle back on this because there are other features such as extension methods that don’t work with method refs. The solution is similar.
from manifold.
Related Issues (20)
- Packaging failed in Maven multi module project HOT 3
- @var error HOT 5
- IDE plugin does not recognise symbols provided by a custom SymbolProvider HOT 2
- Question: Fashion and reliability HOT 1
- Incorrect IntelliJ warning: Method invocation may produce 'NullPointerException' HOT 1
- IntelliJ Plugin: "slow operations" errors occurring in IntelliJ IDEA, primarily in 2023.3 EA HOT 1
- IDEA Chinese Language Pack causes @var error HOT 3
- tuple error on restart idea HOT 3
- `ProcessCanceledException` thrown by Manifold IDEA plugin HOT 2
- The String Template plugin will false alert on SpEL expressions with default values. HOT 2
- IntelliJ plugin: Editor shows errors re changes not used, but is referenced in string template HOT 1
- IDEA 2023.3 error HOT 7
- Suppress "Non-final field" warning when using @val HOT 5
- manifold-graphql: larger graphql models will not compile due to graphql-java default 15000 token limit HOT 1
- [Request] Arithmetic (Shift, Or, Etc) Operators HOT 6
- IntelliJ Plugin: UI freeze when entering certain tags in HTML file HOT 1
- Optimization of string templates for IDEA plugins. HOT 2
- manifold-json: Support top-level oneOf/anyOf types HOT 1
- Fix authorization headers for JSON and GraphQL HOT 1
- manifold.ij.core.ManProject hold disposed instances of ProjectImpl HOT 2
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 manifold.