We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90b174e commit 7a3fbf4Copy full SHA for 7a3fbf4
Sources/protoc-gen-swift/FileGenerator.swift
@@ -90,7 +90,7 @@ class FileGenerator {
90
let editionPath = IndexPath(index: Google_Protobuf_FileDescriptorProto.FieldNumbers.edition)
91
let syntaxPath = IndexPath(index: Google_Protobuf_FileDescriptorProto.FieldNumbers.syntax)
92
var commentLocation: Google_Protobuf_SourceCodeInfo.Location? = nil
93
- if !self.generatorOptions.experimentalStripNonfunctionalCodegen {
+ if self.generatorOptions.experimentalStripNonfunctionalCodegen {
94
// Comments are inherently non-functional, and may change subtly on
95
// transformations.
96
} else if let location = fileDescriptor.sourceCodeInfoLocation(path: editionPath) {
0 commit comments