• A
    proc: always resolve array types even if they don't appear in the · 5a947bce
    aarzilli 提交于
    program
    
    When evaluating type casts always resolve array types.
    
    Instead of resolving them by looking up the string in debug_info
    construct a fake array type so that a type cast to an array type always
    works as long as the element type exists.
    
    We already did this for byte arrays, this commit extends this to any
    array type. The reason is that we return a fake array type (that
    doesn't exist in the target program) for the array of a channel type.
    
    Fixes #1736
    5a947bce
eval.go 54.1 KB