Skip to content

Member "toSlice" not found or not visible after argument-dependent lookup #1

Open
@bortzmeyer

Description

@bortzmeyer

I cannot use the library. Even with your own example:

    var len = "Unicode snowman ☃".toSlice().len();                                                                         

The compiler complains:

 % solc --abi registry.sol
registry.sol:26:15: Error: Member "toSlice" not found or not visible after argument-dependent lookup in literal_string "Unicode snowman ☃"
   uint len = "Unicode snowman ☃".toSlice().len(); 
              ^---------------------------^
% solc --v
solc, the solidity compiler commandline interface
Version: 0.3.2-0/Release-Linux/g++/Interpreter

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