mirror of
https://github.com/valitydev/elixir-thrift.git
synced 2024-11-07 02:35:17 +00:00
Misc dialyzer fixes
This commit is contained in:
parent
c8eb0cd78d
commit
ca04721384
@ -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,
|
||||
|
@ -8,6 +8,7 @@ defmodule Thrift.Parser.FileGroup do
|
||||
files.
|
||||
"""
|
||||
|
||||
alias Thrift.Parser
|
||||
alias Thrift.Parser.{
|
||||
FileGroup,
|
||||
FileRef,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user