Last active
August 29, 2015 13:57
-
-
Save thegrubbsian/9537679 to your computer and use it in GitHub Desktop.
Weird API behavior on Process.register
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex(10)> Process.alive? tile_pid | |
true | |
iex(11)> Process.register tile_pid, :foo | |
** (ArgumentError) argument error | |
:erlang.register(:foo, #PID<0.163.0>) | |
(elixir) lib/process.ex:333: Process.register/2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment