Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Incorrect lhs evaluation order in multi-assignments #358

Open
@shibukawa

Description

@shibukawa

The following code reproduces the issue I met.

https://gist.github.com/shibukawa/44cb0529c492e0679e9c

I am using one slice technique, deleting pointer member, described at here:
https://github.com/golang/go/wiki/SliceTricks

The result is different from Golang. Gopher.js overwrites the last member that should not be removed with nil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions