Sha256: 00f7a0b810bd1c6ccf0ec629c2963450fec821b3bc4caf3caa6329fde929a23a

Contents?: true

Size: 385 Bytes

Versions: 12

Compression:

Stored size: 385 Bytes

Contents

type-inference --test=Array.DynamicAccess1 --should-be=Fixnum
a = []
a << 1
a[0]_|_
EOF

type-inference --test=Array.DynamicAccess2 --should-be=Fixnum,String
a = []
a << 1
a << ''
a[0]_|_
EOF

type-inference --test=Array.DynamicAccess3 --should-be=Fixnum,String
a = ['']
a << 1
a[0]_|_
EOF

type-inference --test=Array.DynamicAccess4 --should-be=Fixnum
a = []
b = a[0]
a << 1
b_|_
EOF

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rsense-core-0.6.6 test/script/array_dynamic.rsense
rsense-core-0.6.5 test/script/array_dynamic.rsense
rsense-core-0.6.4 test/script/array_dynamic.rsense
rsense-core-0.6.2 test/script/array_dynamic.rsense
rsense-core-0.6.1 test/script/array_dynamic.rsense
rsense-core-0.6.0 test/script/array_dynamic.rsense
rsense-core-0.5.9 test/script/array_dynamic.rsense
rsense-core-0.5.8 test/script/array_dynamic.rsense
rsense-core-0.5.6 test/script/array_dynamic.rsense
rsense-core-0.5.2 test/script/array_dynamic.rsense
rsense-core-0.5.1 test/script/array_dynamic.rsense
rsense-core-0.5.0 test/script/array_dynamic.rsense