- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for resolvers (0.17 sec)
-
doc/go1.22.html
In general, identifiers cannot be accurately resolved without type information. Consider, for example, the identifier <code>K</code> in <code>T{K: ""}</code>: it could be the name of a local variable if T is a map type, or the name of a field if T is a struct type. New programs should use the <a href='/pkg/go/types'>go/types</a> package to resolve identifiers; see
HTML - Registered: Tue Feb 06 11:13:10 GMT 2024 - Last Modified: Wed Jan 31 20:51:56 GMT 2024 - 45.6K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
is EnumDeclaration -> tryResolve({ it.resolve().qualifiedName }) { inferClassName(unit) } is ClassOrInterfaceDeclaration -> tryResolve({ it.resolve().qualifiedName }) { inferClassName(unit) } is MethodDeclaration -> tryResolve({ it.resolve().qualifiedSignature }) { "${inferClassName(unit)}.${it.name}()" } is AnnotationDeclaration -> tryResolve({ it.resolve().qualifiedName }) { "${inferClassName(unit)}.${it.name}" }
HTML - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sun Jun 25 02:53:14 GMT 2023 - 12.7K bytes - Viewed (0) -
doc/go1.17_spec.html
is not enclosed in parentheses, square brackets, or curly braces. In this rare case, the opening brace of the literal is erroneously parsed as the one introducing the block of statements. To resolve the ambiguity, the composite literal must appear within parentheses. </p> <pre> if x == (T{a,b,c}[i]) { … } if (x == T{a,b,c}[i]) { … } </pre> <p>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
type T[P (C)] … type T[P *C|Q] … … </pre> <p> In these rare cases, the type parameter list is indistinguishable from an expression and the type declaration is parsed as an array type declaration. To resolve the ambiguity, embed the constraint in an <a href="#Interface_types">interface</a> or use a trailing comma: </p> <pre> type T[P interface{*C}] … type T[P *C,] … </pre> <p>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0)