hello, everyone, I got this error:
$crystal --version
Crystal 0.30.1 [5e6a1b672] (2019-08-12)
$crystal eval 'u = Int32|String; y : Int32|String = 4 ;puts y '
4
$crystal eval 'u = Int32|String; y : u = 4 ;puts y '
Error: expecting token 'CONST', not 'u'
I want to use variable instead of union types directly, is it possible?
thanks~