Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewBasicLit (0.09 sec)

  1. src/cmd/compile/internal/ir/const.go

    	case typ.IsInteger():
    		return NewBasicLit(pos, typ, intZero)
    	case typ.IsFloat():
    		return NewBasicLit(pos, typ, floatZero)
    	case typ.IsComplex():
    		return NewBasicLit(pos, typ, complexZero)
    	case typ.IsBoolean():
    		return NewBasicLit(pos, typ, constant.MakeBool(false))
    	case typ.IsString():
    		return NewBasicLit(pos, typ, constant.MakeString(""))
    	case typ.IsArray() || typ.IsStruct():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top