File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
clj/resources/indent-test-cases/custom_types Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ (defrecord Thing [a]
2+ FileNameMap
3+ (getContentTypeFor [_ file-name]
4+ (str a " -" file-name))
5+ Object
6+ (toString [_]
7+ " My very own thing!!" ))
8+
9+ (defrecord TheNameOfTheRecord
10+ [a pretty long argument list]
11+ SomeType
12+ (assoc [_ x]
13+ (.assoc pretty x 10 )))
14+
15+ (extend-protocol MyProtocol
16+ goog.date.Date
17+ (-to-date-time [x]
18+ (goog.date.UtcDateTime. (.getYear x)
19+ (.getMonth x)
20+ (.getDate x))))
Original file line number Diff line number Diff line change 1+ (defrecord Thing [a]
2+ FileNameMap
3+ (getContentTypeFor [_ file-name]
4+ (str a " -" file-name))
5+ Object
6+ (toString [_]
7+ " My very own thing!!" ))
8+
9+ (defrecord TheNameOfTheRecord
10+ [a pretty long argument list]
11+ SomeType
12+ (assoc [_ x]
13+ (.assoc pretty x 10 )))
14+
15+ (extend-protocol MyProtocol
16+ goog.date.Date
17+ (-to-date-time [x]
18+ (goog.date.UtcDateTime. (.getYear x)
19+ (.getMonth x)
20+ (.getDate x))))
You can’t perform that action at this time.
0 commit comments