Skip to content

Commit

Permalink
Clean up some deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Apr 21, 2020
1 parent b4d5c34 commit 78a7cb8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions core/deprecations.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
module Rubinius
DEPRECATIONS = {
# "Description" => "Alternative"
"Rubinius::ConstantScope is deprecated." =>
"Use Rubinius::LexicalScope instead.",
"Rubinius::Executable#primitive is deprecated." =>
"Use Rubinius::Executable#tags instead.",
"Rubinius::RUNTIME_PATH is deprecated." =>
"Use Rubinius::CODEDB_PATH instead.",
"Rubinius::CORE_PATH is deprecated." =>
"Use Rubinius::CODEDB_PATH/source/core instead, or retrieve the path from the CompiledCode#file attribute",
"Non-UTF-8 encodings for String objects are deprecated." =>
"Use String objects encoded as UTF-8.",
"Encoding objects other than UTF-8 are deprecated." =>
Expand Down
2 changes: 0 additions & 2 deletions core/zed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1912,7 +1912,5 @@ def ffi_function_missing(name, *args)
end
end
end

ConstantScope = LexicalScope
end

0 comments on commit 78a7cb8

Please sign in to comment.