Improve package name escaping in interop stubs (#1570)
This commit is contained in:
committed by
GitHub
parent
301af84358
commit
5b0f587a2a
+1
-1
@@ -1026,6 +1026,6 @@ class StubGenerator(
|
|||||||
MappingBridgeGeneratorImpl(declarationMapper, simpleBridgeGenerator)
|
MappingBridgeGeneratorImpl(declarationMapper, simpleBridgeGenerator)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private val VALID_PACKAGE_NAME_REGEX = "[a-zA-Z1-9_.]".toRegex()
|
private val VALID_PACKAGE_NAME_REGEX = "[a-zA-Z0-9_.]+".toRegex()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user