Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
remove unused type alias; fixes #98
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Smirnov <denys@sourced.tech>
  • Loading branch information
Denys Smirnov committed Oct 30, 2018
1 parent 47a750b commit c38d07d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions request.go
Expand Up @@ -9,7 +9,6 @@ import (
"time"

protocol1 "gopkg.in/bblfsh/sdk.v1/protocol"
"gopkg.in/bblfsh/sdk.v2/driver"
protocol2 "gopkg.in/bblfsh/sdk.v2/protocol"
"gopkg.in/bblfsh/sdk.v2/protocol/v1"
"gopkg.in/bblfsh/sdk.v2/uast/nodes"
Expand All @@ -26,7 +25,13 @@ func (e FatalError) Error() string {
}

// ErrPartialParse is returned when driver was not able to parse the whole source file.
type ErrPartialParse = driver.ErrPartialParse
//
// Deprecated: this type is unused
type ErrPartialParse struct{}

func (ErrPartialParse) Error() string {
return "partial parse"
}

// ParseRequestV2 is a parsing request to get the UAST.
type ParseRequestV2 struct {
Expand Down

0 comments on commit c38d07d

Please sign in to comment.