Skip to content

Object type declaration, syntax error #37

Open
@flyingangel

Description

@flyingangel

The parser doesn't recognize type object declaration. Maybe it's not a native C type so I just want to point it out. But method argument hint type works as intended.

object obj = new stdClass; //---> throw error syntax

A workaround is to use var obj

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