Skip to content

const T arr[] gets converted to imcompatible const(T) *arr instead of a warning #275

@Inkrementator

Description

@Inkrementator

const T arr[] gets converted to the imcompatible type const(T) *arr. This at best segfaults and at worst produces garbage data.

The discussion in #85 towards the end suggests that this is hard to fix, but in my opinion there should be at least a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions