Comments (1)
The dyno resolver thinks this is an ambiguity.
However, I would agree with you that this should work / it is a bug that it does not. The spec says:
If both of the formals have the same type after instantiation and one of the formals is less generic than the other formal, the less-generic formal is better
from chapel.
Related Issues (20)
- [Documentation]: `chpldoc` errors out for `use`ed enums with `--process-used-modules`
- Rewrite learnChapelInYMinutes to only use stable features HOT 1
- [Bug]: Lifetime checker mishandling ` if/else` due to throwing proc with `in` intent
- `--report-gpu` does not work with promotions or loop expressions
- Support for multidimensional arrays in loop expressions as kernels HOT 2
- GPU support leaves some empty directories in `/tmp` HOT 1
- How could we/should we deprecate symbols that are made available via public uses? HOT 9
- Bulk transfer with a non-contiguous slice from host to device segfaults
- [Bug]: CLS fails to separately resove visibility statements
- [Bug]: undefined outer variable in task parallel block causes internal error
- [Bug]: cannot use an array of sublocales in place of `here.gpus` HOT 2
- [Bug]: internal error when attempting to return a loop expression by ref
- [Feature Request]: over-subscription for GPUs
- `sort` with a region argument HOT 3
- [Bug]: internal error with a call to walkDirs
- [Feature Request]: Image module supporting png and jpeg formats
- [Feature Request]: Reading and writing from compressed formats
- [Feature Request]: Chapel and Python file communication via Pickle HOT 3
- [Bug]: Cannot min reduce between arrays HOT 1
- [Feature Request]: Argmax and argmin functions for tuples and arrays HOT 5
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 chapel.