This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
struct HashSet<T : Hashable> { | |
typealias Element = T | |
var _map: Dictionary<T, ()> = [:] | |
var count: Int { | |
return _map.count | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-01-27 1:48:10.756 PM Atom Helper[69923]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** nil colorspace argument in initWithColorSpace:components:count:' | |
*** First throw call stack: | |
( | |
0 CoreFoundation 0x00007fff8376e64c __exceptionPreprocess + 172 | |
1 libobjc.A.dylib 0x00007fff924836de objc_exception_throw + 43 | |
2 CoreFoundation 0x00007fff8376e4fd +[NSException raise:format:] + 205 | |
3 AppKit 0x00007fff8847808d -[NSColorSpaceColor initWithColorSpace:components:count:] + 120 | |
4 AppKit 0x00007fff88477f45 +[NSColor colorWithColorSpace:components:count:] + 29 | |
5 AppKit 0x00007fff884ab41b +[NSDynamicSystemColor keyboardFocusIndicatorColor] + 126 | |
6 AppKit 0x00007fff8844f32f -[NSDynamicSystemColor recacheColor] + 197 |