mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[WIP] Disallow macro default argument with argument
Need to use variable from caller side context
This commit is contained in:
@@ -920,6 +920,8 @@ ModuleDecl::getOriginalLocation(SourceLoc loc) const {
|
||||
bufferID = SM.findBufferContainingLoc(loc);
|
||||
break;
|
||||
}
|
||||
case GeneratedSourceInfo::DefaultArgument:
|
||||
// TODO: ApolloZhu
|
||||
case GeneratedSourceInfo::ReplacedFunctionBody:
|
||||
// There's not really any "original" location for locations within
|
||||
// replaced function bodies. The body is actually different code to the
|
||||
|
||||
Reference in New Issue
Block a user