We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e3e8c commit 0fca9beCopy full SHA for 0fca9be
lib/elixir/test/elixir/kernel/warning_test.exs
@@ -2237,20 +2237,6 @@ defmodule Kernel.WarningTest do
2237
purge(Sample)
2238
end
2239
2240
- test "deprecate non-quoted variables in bitstring size modifiers" do
2241
- assert_warn_eval(
2242
- [
2243
- "the variable \"a\" is accessed inside size(...) of a bitstring but it was defined outside of the match",
2244
- "You must precede it with the pin operator"
2245
- ],
2246
- """
2247
- a = "foo"
2248
- <<a::binary-size(byte_size(a) - 1)>> <> _ = a
2249
- "fo" = a
2250
2251
- )
2252
- end
2253
-
2254
defp assert_compile_error(messages, string) do
2255
captured =
2256
capture_err(fn ->
0 commit comments