Skip to content

Reflect.field(String, "fromCharCode") doesnt work #1103

@NeeEoo

Description

@NeeEoo

https://github.com/HaxeFoundation/hxcpp/blob/master/src/String.cpp#L2176
Hxcpp implementation of String is missing this

bool String::__GetStatic(const ::String &inName, Dynamic &outValue, ::hx::PropertyAccess inCallProp)
{
	if (HX_FIELD_EQ(inName,"fromCharCode") ) { outValue = fromCharCode_dyn(); return true; }
	return false;
}

which causes String.fromCharCode to not work on reflection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions