I hereby claim:
- I am cysp on github.
- I am cysp (https://keybase.io/cysp) on keybase.
- I have a public key ASBVs-uUKcSPicS3b4P6F1CAdp-AnmwVtODqemIWFq8PIQo
To claim this, I am signing this object:
/node_modules | |
/package-lock.json |
import JavaScriptCore | |
extension JSValueDecoder { | |
struct JSValueKeyedDecodingContainer<Key>: KeyedDecodingContainerProtocol where Key: CodingKey { | |
init(value: JSValue, codingPath: [CodingKey] = []) { | |
self.value = value | |
self.codingPath = codingPath | |
} | |
let value: JSValue |
import Swift | |
enum Output { | |
enum Node { | |
case value(Bool) | |
case object([String: Node]) | |
} | |
} | |
extension Output.Node { |
I hereby claim:
To claim this, I am signing this object:
#import <Foundation/Foundation.h> | |
@interface Foo : NSObject | |
@property (nonatomic,copy,readonly) NSArray *foo; | |
@end | |
@implementation Foo | |
- (NSArray *)setFoo:(NSArray *)foo { | |
return _foo = @[ @"bar", ]; | |
} | |
@end |
restify = require 'restify' | |
unirest = require 'unirest' | |
util = require 'util' | |
server = restify.createServer serverOptions | |
server.get { | |
path: '/test' | |
name: 'test' |
diff --git a/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
index 8df9c3b..adea0db 100644 | |
--- a/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
+++ b/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
@@ -1222,7 +1222,9 @@ void DwarfUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) { | |
ElemDie = createAndAddDIE(Property.getTag(), Buffer); | |
StringRef PropertyName = Property.getObjCPropertyName(); | |
addString(ElemDie, dwarf::DW_AT_APPLE_property_name, PropertyName); | |
- addType(ElemDie, Property.getType()); | |
+ if (Property.getType()) { |
-[self.navigationController setNavigationBarHidden:hidden animated:animated]; | |
-[self setNeedsStatusBarAppearanceUpdate]; | |
+void (^animations)(void) = ^{ | |
+ [self setNeedsStatusBarAppearanceUpdate]; | |
+ [self.navigationController setNavigationBarHidden:hidden animated:animated]; | |
+}; | |
+if (animated) { | |
+ [UIView animateWithDuration:UINavigationControllerHideShowBarDuration delay:0 options:UIViewAnimationOptionBeginFromCurrentState animations:animations completion:nil]; | |
+} else { | |
+ animations(); |
[[HipChatOSXApp instance] updatePresenceWithStatus:@"status"]; |