Skip to content

Compilation warnings #4

@mndvns

Description

@mndvns

Setup:

Erlang/OTP 19 [erts-8.0.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

IEx 1.4.0-dev (45627f0)

Warnings:

==> etude
Compiling 30 files (.ex)
warning: variable "self" does not exist and is being expanded to "self()", please use parentheses to remove the ambiguity or change the variable name
  lib/etude/cache/pid.ex:2

warning: variable "self" does not exist and is being expanded to "self()", please use parentheses to remove the ambiguity or change the variable name
  lib/etude/cache/pid.ex:11

warning: variable "self" does not exist and is being expanded to "self()", please use parentheses to remove the ambiguity or change the variable name
  lib/etude/cache/pid.ex:16

warning: variable "self" does not exist and is being expanded to "self()", please use parentheses to remove the ambiguity or change the variable name
  lib/etude/cache/pid.ex:26

warning: variable "self" does not exist and is being expanded to "self()", please use parentheses to remove the ambiguity or change the variable name
  lib/etude/cache/pid.ex:31

warning: variable "self" does not exist and is being expanded to "self()", please use parentheses to remove the ambiguity or change the variable name
  lib/etude/receivable.ex:15

warning: variable "mkref" does not exist and is being expanded to "mkref()", please use parentheses to remove the ambiguity or change the variable name
  lib/etude/future.ex:356

warning: making private functions (encode/2 in this case) overridable is deprecated
  (elixir) lib/module.ex:842: anonymous fn/2 in Module.make_overridable/2
  (stdlib) lists.erl:1338: :lists.foreach/2
  lib/etude/serializer/json.ex:2: (module)
  (elixir) src/elixir_compiler.erl:125: :elixir_compiler.dispatch_loaded/6
  (elixir) src/elixir_module.erl:192: :elixir_module.eval_form/6

warning: making private functions (encode/2 in this case) overridable is deprecated
  (elixir) lib/module.ex:842: anonymous fn/2 in Module.make_overridable/2
  (stdlib) lists.erl:1338: :lists.foreach/2
  lib/etude/serializer/term.ex:2: (module)
  (elixir) src/elixir_compiler.erl:125: :elixir_compiler.dispatch_loaded/6
  (elixir) src/elixir_module.erl:192: :elixir_module.eval_form/6

warning: making private functions (finalize/2 in this case) overridable is deprecated
  (elixir) lib/module.ex:842: anonymous fn/2 in Module.make_overridable/2
  (stdlib) lists.erl:1338: :lists.foreach/2
  lib/etude/serializer/json.ex:2: (module)
  (elixir) src/elixir_compiler.erl:125: :elixir_compiler.dispatch_loaded/6
  (elixir) src/elixir_module.erl:192: :elixir_module.eval_form/6

warning: making private functions (finalize/2 in this case) overridable is deprecated
  (elixir) lib/module.ex:842: anonymous fn/2 in Module.make_overridable/2
  (stdlib) lists.erl:1338: :lists.foreach/2
  lib/etude/serializer/term.ex:2: (module)
  (elixir) src/elixir_compiler.erl:125: :elixir_compiler.dispatch_loaded/6
  (elixir) src/elixir_module.erl:192: :elixir_module.eval_form/6

warning: variable "mkref" does not exist and is being expanded to "mkref()", please use parentheses to remove the ambiguity or change the variable name
  lib/etude/future.ex:418

Generated etude app

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions