Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for versionErrorf (0.75 sec)

  1. src/go/types/expr.go

    	}
    	// len(s) > 2
    	if strings.Contains(s, "_") {
    		check.versionErrorf(lit, go1_13, "underscore in numeric literal")
    		return
    	}
    	if s[0] != '0' {
    		return
    	}
    	radix := s[1]
    	if radix == 'b' || radix == 'B' {
    		check.versionErrorf(lit, go1_13, "binary literal")
    		return
    	}
    	if radix == 'o' || radix == 'O' {
    		check.versionErrorf(lit, go1_13, "0o/0O-style octal literal")
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    	}
    	// len(s) > 2
    	if strings.Contains(s, "_") {
    		check.versionErrorf(lit, go1_13, "underscore in numeric literal")
    		return
    	}
    	if s[0] != '0' {
    		return
    	}
    	radix := s[1]
    	if radix == 'b' || radix == 'B' {
    		check.versionErrorf(lit, go1_13, "binary literal")
    		return
    	}
    	if radix == 'o' || radix == 'O' {
    		check.versionErrorf(lit, go1_13, "0o/0O-style octal literal")
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/init.go

    				},
    			}
    		}
    		if vers != "" && module.CanonicalVersion(vers) == vers {
    			if err := module.CheckPathMajor(vers, pathMajor); err != nil {
    				return "", module.VersionError(module.Version{Path: path, Version: vers}, err)
    			}
    			return vers, nil
    		}
    
    		info, err := Query(ctx, path, vers, "", nil)
    		if err != nil {
    			return "", err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
Back to top