chriseth

Results 231 comments of chriseth

We of course appreciate your help! I think all the details we have worked out so far are here. Do you have specific questions? One of the problems we might...

Since public functions of libraries are not really used, we do not have the problem of linking to the correct templatized library. We could allow templates only for libraries that...

@frangio this is probably true. So I think restricting to libraries with only internal functions is a good first step. Which template libraries come to mind that are really useful...

Some implementation notes for the version of templatizing full libraries (including their structs): We parse templatized libraries, but skip them at first for reference resolution. After reference resolution, we add...

Similar idea, but without libraries: https://github.com/ethereum/solidity/issues/9063

If we want to use the ` value) data; Key[] keys; } function f(IterableMap. storage _map) { ... } ```

Here is another example of how templates might be used: https://gist.github.com/chriseth/d8bf126817fa236c0406c130433a0a7e I think we have to force people to specify the data location, so data location cannot be part of...

Suggested by @cameel : there should be a way to write templates for data locations. One way to do this would be to have a keyword that means "any data...

This looks very good already!