org.junit.ComparisonFailure: compilation result doesn't match expected:<[declare namespace ?_?.clutz.root { class Z extends Z_Instance { } class Z_Instance { private noStructuralTyping_: any; useTransitive ( ) : ?_?.clutz.transitive.Y | null ; useTransitiveNamespaced ( ) : ?_?.clutz.transitive.ns.Z | null ; } } declare namespace goog { function require(name: 'root.Z'): typeof ?_?.clutz.root.Z; } declare module 'goog:root.Z' { import alias = ?_?.clutz.root.Z; export default alias; } declare namespace ?_?.clutz.transitive { class Y extends Y_Instance { } class Y_Instance { private noStructuralTyping_: any; } } declare namespace ?_?.clutz.transitive.ns { class Z extends Z_Instance { } class Z_Instance { private noStructuralTyping_: any; } } ]> **but was:<[]>**

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by gregbown
, 9 months ago
compilation result doesn't match expected:<[declare namespace ?_?.clutz.root { class Z extends Z_Instance { } class Z_Instance { private noStructuralTyping_: any; useTransitive ( ) : ?_?.clutz.transitive.Y | null
via GitHub by thorn0
, 10 months ago
< any > ) : any ; } } declare namespace goog { function require(name: 'namedType.A'): typeof ?_?.clutz.namedType.A; } declare module 'goog:namedType.A' { import alias = ?_?.clutz.namedType.A; export default
via GitHub by supersteves
, 1 year ago
expected:<[var a;var b;]> but was:<[]>
via GitHub by meteorcloudy
, 11 months ago
expected:<x/plugin[]> but was:<x/plugin[.exe]>
org.junit.ComparisonFailure: compilation result doesn't match expected:<[declare namespace ?_?.clutz.root { class Z extends Z_Instance { } class Z_Instance { private noStructuralTyping_: any; useTransitive ( ) : ?_?.clutz.transitive.Y | null ; useTransitiveNamespaced ( ) : ?_?.clutz.transitive.ns.Z | null ; } } declare namespace goog { function require(name: 'root.Z'): typeof ?_?.clutz.root.Z; } declare module 'goog:root.Z' { import alias = ?_?.clutz.root.Z; export default alias; } declare namespace ?_?.clutz.transitive { class Y extends Y_Instance { } class Y_Instance { private noStructuralTyping_: any; } } declare namespace ?_?.clutz.transitive.ns { class Z extends Z_Instance { } class Z_Instance { private noStructuralTyping_: any; } } ]> **but was:<[]>**
at com.google.common.truth.Platform.comparisonFailure(Platform.java:126)
at com.google.common.truth.Truth$1.failComparing(Truth.java:70)
at com.google.javascript.clutz.ProgramSubject.generatesDeclarations(ProgramSubject.java:70)
at com.google.javascript.clutz.MultiFileTest.depgraph(MultiFileTest.java:69)

Users with the same issue

2 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.