Skip to content
This repository was archived by the owner on Feb 7, 2018. It is now read-only.
This repository was archived by the owner on Feb 7, 2018. It is now read-only.

Wrong output for simple static array return #156

@czepluch

Description

@czepluch

If this code is run in browser-solidity with for example 1 and 2 as arguments, a wrong output is shown.

contract Test {
    function add(uint i, uint j) returns (uint[2] a) {
        a[0] = i;
        a[1] = j;
    }
}

output 1. uint256[2] a: 1, 0, but it should be 1. uint256[2] a: 1, 2
The raw output has the correct output though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions