• Daniel Martí's avatar
    node/tests: cover more error cases for scalar kinds · dab6ec7c
    Daniel Martí authored
    In particular, calling non-scalar Node and Assembler methods should
    always fail.
    
    While at it, remove some unused code, since unions always have
    representation strategies.
    
    Brings up code coverage in bindnode from 72.7% to 75%.
    dab6ec7c
node.go 28.3 KB