- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for Parenthesized (0.28 sec)
-
test/fixedbugs/issue4468.go
// Issue 4468: go/defer calls may not be parenthesized. package p type T int func (t *T) F() T { return *t } type S struct { t T } func F() { go F // ERROR "must be function call" defer F // ERROR "must be function call" go (F) // ERROR "must be function call|must not be parenthesized" defer (F) // ERROR "must be function call|must not be parenthesized"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 759 bytes - Viewed (0) -
src/cmd/gofmt/testdata/typeswitch.input
/* Parenthesized type switch expressions originally accepted by gofmt must continue to be rewritten into the correct unparenthesized form. Only type-switches that didn't declare a variable in the type switch type assertion and which contained only "expression-like" (named) types in their cases were permitted to have their type assertion parenthesized by go/parser (due to a weak predicate in the parser). All others
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 15 17:17:30 UTC 2022 - 1.4K bytes - Viewed (0) -
src/cmd/gofmt/testdata/typeswitch.golden
/* Parenthesized type switch expressions originally accepted by gofmt must continue to be rewritten into the correct unparenthesized form. Only type-switches that didn't declare a variable in the type switch type assertion and which contained only "expression-like" (named) types in their cases were permitted to have their type assertion parenthesized by go/parser (due to a weak predicate in the parser). All others
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 15 17:17:30 UTC 2022 - 1.4K bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/callReceiverParens.txt
expression: PARENTHESIZED text: (b)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 61 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/doubleColonUnqualifiedCompanionLHSParenthesized.txt
expression: PARENTHESIZED text: (Companion)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 69 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/propertyAsCallReceiverInParens.txt
expression: PARENTHESIZED text: (b.hashCode)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 70 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/asExpression.txt
expression: PARENTHESIZED text: (v as String)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 71 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/asExpressionElvisCallLHS.txt
expression: PARENTHESIZED text: (v as String)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 71 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/toplevelFunctionReferenceCallReceiver.txt
expression: PARENTHESIZED text: (::callee)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 68 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/propertyReferenceAsCallReceiverInParens.txt
expression: PARENTHESIZED text: (b::hashCode)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 71 bytes - Viewed (0)