elixir-lang/elixir — pull request #1795 by fishcakez (2013-10-22 17:40:58+00:00)
Title: Fix Macro.t spec to include Regex.t

`Macro.t` was missing `Regex.t` from its list of possible types. Found by the following dialyzer warning from #1569:

```
lib/elixir/lib/kernel.ex:3426: The call 'Elixir.Macro':escape(regex::{'Elixir.Regex',{'re_pattern',_,_,_},binary(),binary(),'nil' | [atom()]}) will never return since the success typing is (atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},atom() | binary() | [any()] | number() | {_,_} | {_,_,_}} | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},[{_,_}],atom() | binary() | [any()] | number() | {_,_} | {_,_,_}},atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},atom() | binary() | [any()] | number() | {_,_} | {_,_,_}} | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},[{_,_}],atom() | binary() | [any()] | number() | {_,_} | {_,_,_}}} | {atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},atom() | binary() | [any()] | number() | {_,_} | {_,_,_}} | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},[{_,_}],atom() | binary() | [any()] | number() | {_,_} | {_,_,_}},[{atom(),_}],atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},atom() | binary() | [any()] | number() | {_,_} | {_,_,_}} | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},[{_,_}],atom() | binary() | [any()] | number() | {_,_} | {_,_,_}}}) -> atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},atom() | binary() | [any()] | number() | {_,_} | {_,_,_}} | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},[{_,_}],atom() | binary() | [any()] | number() | {_,_} | {_,_,_}},atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},atom() | binary() | [any()] | number() | {_,_} | {_,_,_}} | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},[{_,_}],atom() | binary() | [any()] | number() | {_,_} | {_,_,_}}} | {atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},atom() | binary() | [any()] | number() | {_,_} | {_,_,_}} | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},[{_,_}],atom() | binary() | [any()] | number() | {_,_} | {_,_,_}},[{atom(),_}],atom() | binary() | [any()] | number() | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},atom() | binary() | [any()] | number() | {_,_} | {_,_,_}} | {atom() | binary() | [any()] | number() | {_,_} | {_,_,_},[{_,_}],atom() | binary() | [any()] | number() | {_,_} | {_,_,_}}} and the contract is ('Elixir.Macro':t()) -> 'Elixir.Macro':t()
```