File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ You may also prefer to write using guards:
249
249
* [ PartitionSupervisor] Add ` PartitionSupervisor.resize!/2 ` to resize the number of partitions in a supervisor (up to the limit it was started with)
250
250
* [ Process] Handle arbitrarily high integer values in ` Process.sleep/1 `
251
251
* [ Protocol] Add ` @undefined_impl_description ` to customize error message when an implementation is undefined
252
- * [ Protocol] Add ` __deriving__ ` as optional macro callback to ` Protocol ` , no longer requiring empty implementations
252
+ * [ Protocol] Add ` __deriving__/1 ` as optional macro callback to ` Protocol ` , no longer requiring empty implementations
253
253
* [ String] Inspect special whitespace and zero-width characters using their Unicode representation
254
254
* [ String] Update Unicode to 16.0
255
255
@@ -313,7 +313,7 @@ You may also prefer to write using guards:
313
313
* [ Inspect.Algebra] ` fold_doc/2 ` is deprecated in favor of ` fold/2 `
314
314
* [ Kernel] Deprecate ` unless ` in favor of ` if ` . Use ` mix format --migrate ` to automate the migration
315
315
* [ Macro] ` Macro.struct!/2 ` is deprecated in favor of ` Macro.struct_info!/2 `
316
- * [ Protocol] Defining the ` __deriving__ ` macro inside the ` Any ` implementation is deprecated, derive it inside the protocol definition itself
316
+ * [ Protocol] Defining ` __deriving__/3 ` inside the ` Any ` implementation is deprecated, derive it inside the protocol definition itself
317
317
318
318
### 4. Hard deprecations
319
319
Original file line number Diff line number Diff line change @@ -211,7 +211,6 @@ start_cli() ->
211
211
env_for_eval (#{lexical_tracker := Pid } = Env ) ->
212
212
NewEnv = Env #{
213
213
context := nil ,
214
- context_modules := [],
215
214
macro_aliases := [],
216
215
versioned_vars := #{}
217
216
},
@@ -260,6 +259,7 @@ env_for_eval(Opts) when is_list(Opts) ->
260
259
false -> []
261
260
end ,
262
261
262
+ % % TODO: Remove the following deprecations in future releases
263
263
Aliases = case lists :keyfind (aliases , 1 , Opts ) of
264
264
{aliases , AliasesOpt } when is_list (AliasesOpt ) ->
265
265
'Elixir.IO' :warn (<<" :aliases option in eval is deprecated" >>),
You can’t perform that action at this time.
0 commit comments