Misc dialyzer fixes

This commit is contained in:
Dan Swain 2017-02-10 17:31:52 -05:00
parent c8eb0cd78d
commit ca04721384
3 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,8 @@
defmodule Thrift.TApplicationException do
defexception message: nil, type: nil
alias Thrift.Protocol
@exception_mappings %{
unknown_method: 1,
invalid_message_type: 2,

View File

@ -8,6 +8,7 @@ defmodule Thrift.Parser.FileGroup do
files.
"""
alias Thrift.Parser
alias Thrift.Parser.{
FileGroup,
FileRef,

View File

@ -49,7 +49,7 @@ defmodule Thrift.Parser.Models do
Constants of any primitive or container type can be created in Thrift.
"""
@type t :: %Constant{name: String.t, value: Literal.t, type: Types.t}
@type t :: %Constant{name: String.t, value: Literals.t, type: Types.t}
@enforce_keys [:name, :value, :type]
defstruct name: nil, value: nil, type: nil