Skip to content

Commit

Permalink
Merge pull request #49 from xuwei-k/fullJavaName-asSymbol
Browse files Browse the repository at this point in the history
call asSymbol in fullJavaName
  • Loading branch information
thesamet committed Nov 2, 2015
2 parents 93b9efb + 9cc75fb commit e07b284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ trait DescriptorPimps {
}

def fullJavaName(fullName: String) = {
javaFullOuterClassName + "." + stripPackageName(fullName)
javaFullOuterClassName + "." + stripPackageName(fullName).asSymbol
}

def fileDescriptorObjectName = snakeCaseToCamelCase(file.getName, upperInitial = true)
Expand Down
3 changes: 3 additions & 0 deletions e2e/src/main/protobuf/names.dot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ message WeirdNamesRequired {
required string tag = 2;
required Option option = 3;
}

message yield {
}

0 comments on commit e07b284

Please sign in to comment.