Skip to content
Snippets Groups Projects
Commit fc490e04 authored by Ian Lance Taylor's avatar Ian Lance Taylor
Browse files

compiler: use int type for len & cap in slice value

    
    Slice value expression has backend type a struct of a pointer and
    two ints. Make sure the len and cap are converted to int when
    creating slice value expression.
    
    Reviewed-on: https://go-review.googlesource.com/c/156897

From-SVN: r267745
parent 52af3071
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment