- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I often come across this error message from the type checker:
> error #6633: The type of the actual argument differs from the type of the dummy argument. [symbolname]
call some_routine(symbolname)
---------------------^
I wanted to suggest the message to be improved:
it would:
* state the two types that are mismatched
* provide the locations of type declaration (or first place the implicit symbol is declared)
This would make the troubleshooting much more effective, and also the compiler more user friendly.
What do you think?
Is there a sense that the compiler frontend (or whole), would be opensourced? as this is typically the kind of issue the community can take over.
F# community has seen lot of engagement and contributions to the compiler in similar fashion:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The improvements you suggest are good. I will open a Feature Request for these.
On the topic of open sourcing: no, that will not happen. We have discussed and debated this extensively and it would make no sense. The complexity and primarily the age of the front end make it intractable and unattractive to master. We would never get a community to build and rally around it.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The improvements you suggest are good. I will open a Feature Request for these.
On the topic of open sourcing: no, that will not happen. We have discussed and debated this extensively and it would make no sense. The complexity and primarily the age of the front end make it intractable and unattractive to master. We would never get a community to build and rally around it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ron, this is great!
Sorry, I guess the question about the compiler implementation has been asked countless times!
Is there some sense though, that community oriented activity could be leveraged in contributing to the documentation?
I find the reference to be very formal and a bit too terse.
Something that is in between "user has specific issue and posts on forum" and "formal specification" with finest technical writing requirements could be useful for people the use the compiler and ecosystem.
I'm thinking a bit like how MSDN was centralized and eventually became to some extent distributed / crowd sourced.
For example, C# compiler messages are described, for some, to great extent:
This is something that community may be able to contribute to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have had many requests to improve error messages submitted via the Service Center in addition to the forum.
Fortran Developer Guide and Reference also contain info on different types of error messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The feature request for improvement to error #6633 has ID CMPLRLLVM-65611

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page