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:<[]>**

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1011

  • via GitHub by gregbown
    , 5 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
    , 6 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 dancloud62
    , 4 months ago
    Test 8 doesn't match expected:<...nerated by wsdl2apex[ public class wwwWebservicexNet { public class getAirportInformationByAirportCodeResponse_element { public String getAirportInformationByAirportCodeResult; private String
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 year ago