Skip to content

[Feature Request]: More information added to an error message #28153

@sprock

Description

@sprock

Summary of Feature

Description:
When trying to pass a string consisting of a single character to C:
c_array.chpl:10: error: Cannot assign to int(8) from string

Is this issue currently blocking your progress?
No.

Code Sample

A bit of extra information in the error message would clarfify.

c_array.chpl:10: error: Cannot assign to int(8) from string
c_array.chpl:10: note: In Chapel 's' is a string literal rather than a char as in C

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions