0

Error: "UnimplementedFeatureError: Variable inaccessible, too deep inside stack"

code:

contract create{

     struct s{
        string s1;
        string s2;
        string s3;
        string s4;
        string s5;
        string s6;
        string s7;
        string s8;
        string s9;
        string s10;
        string s11;
        string s12;
    }

    s[] t;

    function set(string memory a1,string memory a2,string memory a3,string memory a4,string memory a5,string memory a6,string memory a7,string memory a8,
    string memory a9,string memory a10,string memory a11,string memory a12) public{
        t.push(s(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12));
    }
}
  • which version of solidity compiler you are using for this code? – Mahesh Rajput May 24 '19 at 11:30