-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JS] When building source maps getting p.getLineCount is not a function #2826
Comments
It looks like we need to write an implementation at https://github.com/google/closure-compiler/blob/master/src/com/google/debugging/sourcemap/SourceMapObjectParserJs.java#L60 I assume just |
So this might be a very noob question but I got a compiler error saying that a Line 94 can become: builder.setLineCount(sourceMap.lineCount); I don't know what happens when JS properties are What do you think @MatrixFrog? |
Just came across the syntax with Maybe: @JsMethod
native Object getLineCount() /*-{ return this.lineCount; }-*/; ? |
I confirm the proposed PR solves the issue. |
…tion It was missing but used in the no JVM version when building source maps. The implementation just returns the value of the lineCount property.
…tion It was missing but used in the no JVM version when building source maps. The implementation just returns the value of the lineCount property.
…tion It was missing but used in the no JVM version when building source maps. The implementation just returns the value of the lineCount property.
It was missing but used in the no JVM version when building source maps. The implementation just returns the value of the lineCount property. Fixes google#2826 Closes google#2829 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187063993
Hello Google folks!
First of all I am sorry if this is not the place for this bug report, it is concerning the JS port.
Note that I don't have a reproducible case with only the compiler, but I can make one in case it is needed.
When generating source maps using
lumo
, which usesgoogle-closure-compiler-js
, I get an error:The steps are described here anmonteiro/lumo#361, but more importantly I was wondering whether the source map portion of the code is known to be stable.
Thanks a lot for your hard work!
The text was updated successfully, but these errors were encountered: