Merge pull request #12 from scohen/make_1_2_compat

Made aliases 1.2 compliant
This commit is contained in:
Steve Cohen 2016-06-21 10:22:01 -07:00 committed by GitHub
commit e48808c4e5

View File

@ -138,8 +138,7 @@ end
`Thrift.Parser` module. `Thrift.Parser` module.
""" """
alias Thrift.Parser.Types alias Thrift.Parser.{Literals, Types}
alias Thrift.Parser.Literals
defmodule Namespace do defmodule Namespace do
@moduledoc """ @moduledoc """
@ -472,13 +471,14 @@ end
typedefs: %{} typedefs: %{}
import Thrift.Parser.Conversions import Thrift.Parser.Conversions
alias Thrift.Parser.Models.Include alias Thrift.Parser.Models.{Constant,
alias Thrift.Parser.Models.Namespace Exception,
alias Thrift.Parser.Models.Constant Include,
alias Thrift.Parser.Models.Exception Namespace,
alias Thrift.Parser.Models.Struct Struct,
alias Thrift.Parser.Models.TEnum TEnum,
alias Thrift.Parser.Models.Union Union
}
@doc """ @doc """
Constructs a schema with both headers and definitions. Constructs a schema with both headers and definitions.