We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@a=10 fact "equality with @" do 10 |> @a end
Raises the error
** (CompileError) test/tennis/game_test.exs:32: function '@'/2 undefined lists.erl:1323: :lists.foreach/2 /private/tmp/elixir-NwV5/elixir-0.10.3/lib/elixir/lib/code.ex:290: Code.require_file/2 /private/tmp/elixir-NwV5/elixir-0.10.3/lib/elixir/lib/kernel/parallel_require.ex:50: Kernel.ParallelRequire."-spawn_requires/5-fun-1-"/5
Re-writing explicitly works (but you should be able to do the above):
@a=10 fact "equality with @" do 10 |> equals @a end
Thanks to @BjRo tennis example that helped me spot this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Raises the error
** (CompileError) test/tennis/game_test.exs:32: function '@'/2 undefined
lists.erl:1323: :lists.foreach/2
/private/tmp/elixir-NwV5/elixir-0.10.3/lib/elixir/lib/code.ex:290: Code.require_file/2
/private/tmp/elixir-NwV5/elixir-0.10.3/lib/elixir/lib/kernel/parallel_require.ex:50: Kernel.ParallelRequire."-spawn_requires/5-fun-1-"/5
Re-writing explicitly works (but you should be able to do the above):
Thanks to @BjRo tennis example that helped me spot this.
The text was updated successfully, but these errors were encountered: