Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newTarget (0.13 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            def ref = registry.atState("ref", ModelNode.State.Discovered)
    
            when:
            ref.setTarget(newTarget)
    
            then:
            IllegalStateException e = thrown()
            e.message == "Cannot set target for model element 'ref' as this element is not mutable."
    
            where:
            newTarget << [null, Stub(MutableModelNode)]
        }
    
        def "rules are invoked in order before element is closed"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    // variable of an assignment, or of a function result variable.
    type target struct {
    	sig  *Signature
    	desc string
    }
    
    // newTarget creates a new target for the given type and description.
    // The result is nil if typ is not a signature.
    func newTarget(typ Type, desc string) *target {
    	if typ != nil {
    		if sig, _ := under(typ).(*Signature); sig != nil {
    			return &target{sig, desc}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    // variable of an assignment, or of a function result variable.
    type target struct {
    	sig  *Signature
    	desc string
    }
    
    // newTarget creates a new target for the given type and description.
    // The result is nil if typ is not a signature.
    func newTarget(typ Type, desc string) *target {
    	if typ != nil {
    		if sig, _ := under(typ).(*Signature); sig != nil {
    			return &target{sig, desc}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top