Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 154 for Newlines (0.17 sec)

  1. test/syntax/composite.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    var a = []int{
    	3 // ERROR "need trailing comma before newline in composite literal|possibly missing comma or }"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 00:26:58 UTC 2022
    - 304 bytes
    - Viewed (0)
  2. src/internal/diff/testdata/eof2.txt

    -- old --
    a
    b
    c^D
    -- new --
    a
    b
    c
    -- diff --
    diff old new
    --- old
    +++ new
    @@ -1,3 +1,3 @@
     a
     b
    -c
    \ No newline at end of file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 130 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/testdata/issue20789.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure this doesn't crash the compiler.
    // Line 9 must end in EOF for this test (no newline).
    
    package e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 326 bytes
    - Viewed (0)
  4. test/fixedbugs/bug349.go

    // license that can be found in the LICENSE file.
    
    // issue 1192 - detail in error
    
    package main
    
    func foo() (a, b, c int) {
    	return 0, 1 2.01  // ERROR "unexpected literal 2.01|expected ';' or '}' or newline|not enough arguments to return"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 367 bytes
    - Viewed (0)
  5. .golangci.yml

      exclude-use-default: false
      exclude:
        - "empty-block:"
        - "unused-parameter:"
        - "dot-imports:"
        - should have a package comment
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 07 02:17:03 UTC 2023
    - 689 bytes
    - Viewed (0)
  6. test/fixedbugs/issue14520.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package f
    
    func f(x int /* // GC_ERROR "unexpected newline"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 294 bytes
    - Viewed (0)
  7. test/syntax/vareq.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 313 bytes
    - Viewed (0)
  8. test/fixedbugs/issue18747.go

    	if foo; {} // ERROR "missing condition in if statement"
    
    	if foo; // ERROR "missing condition in if statement"
    	{}
    
    	if foo {}
    
    	if ; foo {}
    
    	if foo // ERROR "unexpected newline, expected { after if clause"
    	{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 575 bytes
    - Viewed (0)
  9. test/syntax/vareq1.go

    // license that can be found in the LICENSE file.
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 361 bytes
    - Viewed (0)
  10. test/fixedbugs/bug332.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // type T int
    
    func main() {}
    
    // issue 1474
    
    // important: no newline on end of next line.
    // 6g used to print <epoch> instead of bug332.go:111
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 28 02:31:54 UTC 2020
    - 376 bytes
    - Viewed (0)
Back to top