mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add FIXME.
Swift SVN r5567
This commit is contained in:
@@ -52,7 +52,9 @@ SILConstant::SILConstant(ValueDecl *vd, SILConstant::Kind kind,
|
||||
: loc(vd), kind(kind), isObjC(isObjC)
|
||||
{
|
||||
unsigned naturalUncurryLevel;
|
||||
|
||||
|
||||
// FIXME: restructure to use a "switch".
|
||||
|
||||
if (auto *func = dyn_cast<FuncDecl>(vd)) {
|
||||
assert(!func->isGetterOrSetter() &&
|
||||
"cannot create a Func SILConstant for a property accessor");
|
||||
|
||||
Reference in New Issue
Block a user