mirror of
https://github.com/valitydev/elixir-thrift.git
synced 2024-11-07 02:35:17 +00:00
Merge pull request #12 from scohen/make_1_2_compat
Made aliases 1.2 compliant
This commit is contained in:
commit
e48808c4e5
@ -138,8 +138,7 @@ end
|
||||
`Thrift.Parser` module.
|
||||
"""
|
||||
|
||||
alias Thrift.Parser.Types
|
||||
alias Thrift.Parser.Literals
|
||||
alias Thrift.Parser.{Literals, Types}
|
||||
|
||||
defmodule Namespace do
|
||||
@moduledoc """
|
||||
@ -472,13 +471,14 @@ end
|
||||
typedefs: %{}
|
||||
|
||||
import Thrift.Parser.Conversions
|
||||
alias Thrift.Parser.Models.Include
|
||||
alias Thrift.Parser.Models.Namespace
|
||||
alias Thrift.Parser.Models.Constant
|
||||
alias Thrift.Parser.Models.Exception
|
||||
alias Thrift.Parser.Models.Struct
|
||||
alias Thrift.Parser.Models.TEnum
|
||||
alias Thrift.Parser.Models.Union
|
||||
alias Thrift.Parser.Models.{Constant,
|
||||
Exception,
|
||||
Include,
|
||||
Namespace,
|
||||
Struct,
|
||||
TEnum,
|
||||
Union
|
||||
}
|
||||
|
||||
@doc """
|
||||
Constructs a schema with both headers and definitions.
|
||||
|
Loading…
Reference in New Issue
Block a user