Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Doesn't work on Elixir 1.0.x #18

@alg

Description

@alg

Here's what I get when compiling the app.

= Compilation error on file lib/app.ex ==
** (CompileError) lib/app.ex:1: undefined function defrecord/3
    (stdlib) lists.erl:1352: :lists.mapfoldl/3
    (elixir) src/elixir_exp.erl:49: :elixir_exp.expand/2
    (elixir) src/elixir.erl:206: :elixir.quoted_to_erl/3
    (elixir) src/elixir_lexical.erl:17: :elixir_lexical.run/3
    (elixir) lib/kernel/parallel_compiler.ex:97: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/8

There isn't such thing as defrecord any more if I'm not mistaken. It's been replaced with Structure?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions