Sha256: 8d9db29a805212dd1e5c1c45ed64d7a59016ecca04558d56be8f848b018b7c82

Contents?: true

Size: 1.53 KB

Versions: 21

Compression:

Stored size: 1.53 KB

Contents

# NOTE: run bin/format-filters after changing this file
opal_unsupported_filter "Symbol" do
  fails "A Symbol literal can be an empty string"
  fails "A Symbol literal can be created by the %s-delimited expression"
  fails "A Symbol literal can contain null in the string"
  fails "A Symbol literal is a ':' followed by a single- or double-quoted string that may contain otherwise invalid characters"
  fails "A Symbol literal is a ':' followed by any number of valid characters"
  fails "A Symbol literal is converted to a literal, unquoted representation if the symbol contains only valid characters"
  fails "Fixnum#coerce raises a TypeError when given an Object that does not respond to #to_f"
  fails "Hash literal raises a TypeError if any splatted elements keys are not symbols"
  fails "Marshal.dump with a Symbol dumps a Symbol"
  fails "Marshal.dump with a Symbol dumps a big Symbol"
  fails "Marshal.dump with a Symbol dumps a binary encoded Symbol"
  fails "Marshal.dump with a Symbol dumps an encoded Symbol"
  fails "Marshal.dump with an Array dumps a non-empty Array" # this particular spec dumps a Symbol, spec with String instead of Symbol is in spec/opal/
  fails "Module#const_get raises a NameError if a Symbol has a toplevel scope qualifier"
  fails "Module#const_get raises a NameError if a Symbol is a scoped constant name"
  fails "Numeric#coerce raises a TypeError when passed a Symbol"
  fails "Symbol#to_proc produces a proc that always returns [[:rest]] for #parameters"
  fails "The throw keyword does not convert strings to a symbol"
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
opal-1.6.1 spec/filters/unsupported/symbol.rb
opal-1.6.0 spec/filters/unsupported/symbol.rb
opal-1.6.0.rc1 spec/filters/unsupported/symbol.rb
opal-1.6.0.alpha1 spec/filters/unsupported/symbol.rb
opal-1.5.1 spec/filters/unsupported/symbol.rb
opal-1.5.0 spec/filters/unsupported/symbol.rb
opal-1.5.0.rc1 spec/filters/unsupported/symbol.rb
opal-1.4.1 spec/filters/unsupported/symbol.rb
opal-1.4.0 spec/filters/unsupported/symbol.rb
opal-1.4.0.alpha1 spec/filters/unsupported/symbol.rb
opal-1.3.2 spec/filters/unsupported/symbol.rb
opal-1.3.1 spec/filters/unsupported/symbol.rb
opal-1.3.0 spec/filters/unsupported/symbol.rb
opal-1.3.0.rc1 spec/filters/unsupported/symbol.rb
opal-1.3.0.alpha1 spec/filters/unsupported/symbol.rb
opal-1.2.0 spec/filters/unsupported/symbol.rb
opal-1.2.0.beta1 spec/filters/unsupported/symbol.rb
opal-1.1.1 spec/filters/unsupported/symbol.rb
opal-1.1.1.rc1 spec/filters/unsupported/symbol.rb
opal-1.1.0 spec/filters/unsupported/symbol.rb