Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for mexpr (0.13 sec)

  1. src/go/ast/example_test.go

    	//     30  .  .  .  .  .  .  .  .  NamePos: 4:2
    	//     31  .  .  .  .  .  .  .  .  Name: "println"
    	//     32  .  .  .  .  .  .  .  }
    	//     33  .  .  .  .  .  .  .  Lparen: 4:9
    	//     34  .  .  .  .  .  .  .  Args: []ast.Expr (len = 1) {
    	//     35  .  .  .  .  .  .  .  .  0: *ast.BasicLit {
    	//     36  .  .  .  .  .  .  .  .  .  ValuePos: 4:10
    	//     37  .  .  .  .  .  .  .  .  .  Kind: STRING
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/go/types/conversions.go

    			final = Default(x.typ) // default type of untyped nil is untyped nil
    		} else if x.mode == constant_ && isInteger(x.typ) && allString(T) {
    			final = x.typ
    		}
    		check.updateExprType(x.expr, final, true)
    	}
    
    	x.typ = T
    }
    
    // TODO(gri) convertibleTo checks if T(x) is valid. It assumes that the type
    // of x is fully known, but that's not the case for say string(1<<s + 1.0):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/conversions.go

    			final = Default(x.typ) // default type of untyped nil is untyped nil
    		} else if x.mode == constant_ && isInteger(x.typ) && allString(T) {
    			final = x.typ
    		}
    		check.updateExprType(x.expr, final, true)
    	}
    
    	x.typ = T
    }
    
    // TODO(gri) convertibleTo checks if T(x) is valid. It assumes that the type
    // of x is fully known, but that's not the case for say string(1<<s + 1.0):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top