-
Notifications
You must be signed in to change notification settings - Fork 60
Update closure compiler to latest release. #936
base: master
Are you sure you want to change the base?
Conversation
package.json
Outdated
@@ -5,7 +5,7 @@ | |||
"homepage": "https://github.com/angular/clutz", | |||
"description": "Clutz is not on npm, and technically not a node package. \n This is needed only for testing Clutz's output against the TypeScript compiler, and to install some development dependencies from npm.", | |||
"devDependencies": { | |||
"clang-format": "^1.2.3", | |||
"clang-format": "^1.2.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, even with this there is a difference between internal and external formatting which causes this to still fail :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
diff:
@@ -39,9 +39,8 @@
class B {
twoLines: {param1: string|undefined} = {param1: 'param1'};
multipleLines: {param2: string|undefined} = {param2: 'param2'};
- twoParams:
- {param3: string|undefined,
- param4: string|undefined} = {param3: 'param3', param4: 'param4'};
+ twoParams: {param3: string|undefined,
+ param4: string|undefined} = {param3: 'param3', param4: 'param4'};
Maybe @mprobst should take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll need to do a clang-format release. That'll take a while as I need to get hold of a windows computer...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No rush here, just let me know when done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rkirov there's clang-format 1.3.0 on npm now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
Unfortunately, also your latest change ended up using a "too-fresh" API from guava (?) -
/home/circleci/clutz/src/main/java/com/google/javascript/clutz/DeclarationGenerator.java:1327: error: cannot find symbol
.splitToStream(namespace)
So I still can't unbreak the build
Also upgrade clang-format.
No description provided.