Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Running make test fails in tests/pp-fail/error_directive_unicode.fl #31

Open
novabyte opened this issue Aug 29, 2013 · 0 comments
Open

Comments

@novabyte
Copy link
Contributor

Using Elixir 0.10.1 and running make test fails in the tests/pp-fail suite.

I get the following error in the error_directive_unicode test:

    flect c --stage pp error_directive_unicode.fl ... ** exit {{:function_clause, [{String.Unicode, :next_grapheme, [["\\u0000000A"]], [file: '/private/tmp/elixir-j2M7/elixir-0.10.1/lib/elixir/priv/unicode.ex', line: 171]}, {String, :slice, 3, [file: '/private/tmp/elixir-j2M7/elixir-0.10.1/lib/elixir/lib/string.ex', line: 790]}, {Flect.String, :"-expand_escapes/2-fun-0-", 2, [file: '/Users/novabyte/Desktop/flect-lang/lib/string.ex', line: 30]}, {Enumerable.List, :reduce, 3, [file: '/private/tmp/elixir-j2M7/elixir-0.10.1/lib/elixir/lib/enum.ex', line: 1522]}, {Flect.String, :expand_escapes, 2, [file: '/Users/novabyte/Desktop/flect-lang/lib/string.ex', line: 29]}, {Flect.Compiler.Syntax.Preprocessor, :evaluate_directive, 2, [file: '/Users/novabyte/Desktop/flect-lang/lib/compiler/syntax/preprocessor.ex', line: 274]}, {Enum, :"-map_reduce/3-fun-0-", 3, [file: '/private/tmp/elixir-j2M7/elixir-0.10.1/lib/elixir/lib/enum.ex', line: 663]}, {Enumerable.List, :reduce, 3, [file: '/private/tmp/elixir-j2M7/elixir-0.10.1/lib/elixir/lib/enum.ex', line: 1522]}]}, {:gen_server, :call, [#PID<0.132.0>, {:work, Flect.Config[tool: :c, options: [stage: "pp"], arguments: ["error_directive_unicode.fl"]]}, :infinity]}}
    gen_server.erl:188: :gen_server.call/3
    /Users/novabyte/Desktop/flect-lang/lib/worker.ex:30: Flect.Worker.work/3
    /Users/novabyte/Desktop/flect-lang/test.exs:94: :elixir_compiler_0."-__FILE__/2-fun-9-"/3
    /private/tmp/elixir-j2M7/elixir-0.10.1/lib/elixir/lib/enum.ex:594: Enum."-map/2-lc$^0/1-0-"/2
    /private/tmp/elixir-j2M7/elixir-0.10.1/lib/elixir/lib/enum.ex:594: Enum."-map/2-lc$^0/1-0-"/2
    /private/tmp/elixir-j2M7/elixir-0.10.1/lib/elixir/lib/enum.ex:594: Enum."-map/2-lc$^0/1-0-"/2
    /Users/novabyte/Desktop/flect-lang/test.exs:39: (file)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant