Sha256: c3f6ac6dad55d5a909d6f02308bab56bb99a07a236b739b04070e6f57bccd1ba

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

opal_unsupported_filter "Struct" do
  fails "Struct#initialize is private"
  fails "Struct.new does not create a constant with symbol as first argument"
  fails "Struct.new fails with invalid constant name as first argument" # this invalid name gets interpreted as a struct member
  fails "Struct.new raises a TypeError if object is not a Symbol"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-0.11.0.rc1 spec/filters/unsupported/struct.rb