Skip to content

error: type 'Fortran::semantics::Symbols<1024>::blockType' (aka 'array<Fortran::semantics::Symbol, 1024UL>') does not provide a subscript operator #1114

@yurivict

Description

@yurivict
In file included from /wrkdirs/usr/ports/devel/f18/work/f18-1688bef/lib/semantics/program-tree.cc:15:
In file included from /wrkdirs/usr/ports/devel/f18/work/f18-1688bef/lib/semantics/program-tree.h:18:
/wrkdirs/usr/ports/devel/f18/work/f18-1688bef/lib/semantics/symbol.h:675:22: error: type 'Fortran::semantics::Symbols<1024>::blockType' (aka 'array<Fortran::semantics::Symbol, 1024UL>') does not provide a subscript operator
    Symbol &result = (*currBlock_)[nextIndex_];
                     ^~~~~~~~~~~~~ ~~~~~~~~~~
2 errors generated.

Version: 20191019 (rev. 1688bef)
OS: FreeBSD 13.1
Log URL: http://beefy16.nyi.freebsd.org/data/131amd64-default/c1b60f972738/logs/errors/f18-g20191019_1.log (IPv6 URL)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions