- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for errorPath (0.17 sec)
-
src/cmd/compile/internal/ir/func.go
// assertion? func FuncPC(pos src.XPos, n Node, wantABI obj.ABI) Node { if !n.Type().IsInterface() { base.ErrorfAt(pos, 0, "internal/abi.FuncPC%s expects an interface value, got %v", wantABI, n.Type()) } if fn := IsIfaceOfFunc(n); fn != nil { name := fn.Nname abi := fn.ABI if abi != wantABI { base.ErrorfAt(pos, 0, "internal/abi.FuncPC%s expects an %v function, %s is defined as %v", wantABI, wantABI, name.Sym().Name, abi)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
if !ok { // text has a suffix :xxx but xxx is not a number p.errorAt(p.posAt(tline, tcol+i), "invalid line number: "+text[i:]) return } var line, col uint i2, n2, ok2 := trailingDigits(text[:i-1]) if ok2 { //line filename:line:col i, i2 = i2, i line, col = n2, n if col == 0 || col > PosMax { p.errorAt(p.posAt(tline, tcol+i2), "invalid column number: "+text[i2:]) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
addMethod := func(m *Field, explicit bool) { switch prev := seen[m.Sym]; { case prev == nil: seen[m.Sym] = m case !explicit && Identical(m.Type, prev.Type): return default: base.ErrorfAt(m.Pos, errors.DuplicateDecl, "duplicate method %s", m.Sym.Name) } methods = append(methods, m) } { methods := t.Methods() sort.SliceStable(methods, func(i, j int) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt
private fun errorMessage(error: ScriptCompilationError): String = error.location?.let { location -> errorAt(location, error.message) } ?: error.message private fun errorAt(location: CompilerMessageSourceLocation, message: String): String { val columnIndent = " ".repeat(5 + maxLineNumberStringLength + 1 + location.column)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 31 08:46:17 UTC 2023 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
}) for _, large := range largeStackFrames { if large.callee != 0 { base.ErrorfAt(large.pos, 0, "stack frame too large (>1GB): %d MB locals + %d MB args + %d MB callee", large.locals>>20, large.args>>20, large.callee>>20) } else { base.ErrorfAt(large.pos, 0, "stack frame too large (>1GB): %d MB locals + %d MB args", large.locals>>20, large.args>>20) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/data.go
// causing a cryptic error message by the linker. Check for oversize objects here // and provide a useful error message instead. if int64(len(t)) > 2e9 { base.ErrorfAt(pos, 0, "%v with length %v is too big", what, len(t)) return 0 } s.WriteString(base.Ctxt, int64(off), len(t), t) return off + len(t) } var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:08:50 UTC 2023 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/noder/noder.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:40:57 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/expr.go
n.SetType(nil) return n } op, why := convertOp(n.X.Op() == ir.OLITERAL, t, n.Type()) if op == ir.OXXX { // Due to //go:nointerface, we may be stricter than types2 here (#63333). base.ErrorfAt(n.Pos(), errors.InvalidConversion, "cannot convert %L to type %v%s", n.X, n.Type(), why) n.SetType(nil) return n } n.SetOp(op) switch n.Op() { case ir.OCONVNOP: if t.Kind() == n.Type().Kind() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
for _, w := range ft.Copyto { w.SetUnderlying(t) } // Double-check use of type as embedded type. if ft.Embedlineno.IsKnown() { if t.IsPtr() || t.IsUnsafePtr() { base.ErrorfAt(ft.Embedlineno, errors.InvalidPtrEmbed, "embedded type cannot be a pointer") } } } func fieldsHasShape(fields []*Field) bool { for _, f := range fields { if f.Type != nil && f.Type.HasShape() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)