Age | Commit message (Collapse) | Author | Files | Lines |
|
* allow conversion between nil interface and any type.
* mark signatures as DUPOK so that multiple .6 can
contain sigt.*[]byte and only one gets used.
R=ken
OCL=18538
CL=18542
|
|
R=rsc
DELTA=4 (1 added, 1 deleted, 2 changed)
OCL=18528
CL=18533
|
|
add Value.Interface, to extract an empty interface
that can be converted to a regular Go value of the
appropriate type, if known.
R=rsc
DELTA=49 (2 added, 0 deleted, 47 changed)
OCL=18526
CL=18526
|
|
parsed interfaces wrong.
could not handle a function with a single type as a return value.
R=rsc
DELTA=34 (20 added, 2 deleted, 12 changed)
OCL=18511
CL=18520
|
|
R=rsc
DELTA=187 (107 added, 28 deleted, 52 changed)
OCL=18510
CL=18510
|
|
R=rsc
DELTA=31 (9 added, 6 deleted, 16 changed)
OCL=18470
CL=18472
|
|
R=r
DELTA=3501 (1752 added, 1749 deleted, 0 changed)
OCL=18460
CL=18471
|
|
whatever the final syntax ends up being.
R=ken
OCL=18414
CL=18414
|
|
add sys.unreflect, which uses gotypesigs.
R=r
DELTA=170 (152 added, 12 deleted, 6 changed)
OCL=18396
CL=18404
|
|
R=r
DELTA=51 (0 added, 0 deleted, 51 changed)
OCL=18399
CL=18402
|
|
R=rsc
DELTA=5 (1 added, 2 deleted, 2 changed)
OCL=18395
CL=18398
|
|
R=rsc
DELTA=17 (17 added, 0 deleted, 0 changed)
OCL=18386
CL=18393
|
|
TBR=r
OCL=18381
CL=18383
|
|
sigi and sigt:
sys·sigi_inter -> sigi·inter
sys·sigt_int -> sigt·int
Package·sigt_Type -> sigt·Package.Type
local type T in file x.go T_x -> T·x
second one T_x_1 -> T·x·1
method names M on T T_M -> T·M
correctly handle local embedded types
init functions are the only place left that use underscores
R=ken
OCL=18377
CL=18377
|
|
only unencapsulated if passing one ddd
argument to one ddd parameter.
R=r
OCL=18376
CL=18376
|
|
R=rsc
DELTA=7 (7 added, 0 deleted, 0 changed)
OCL=18372
CL=18372
|
|
R=r
OCL=18351
CL=18351
|
|
R=ken
OCL=18348
CL=18348
|
|
R=rsc
DELTA=60 (35 added, 17 deleted, 8 changed)
OCL=18339
CL=18343
|
|
Plus print[ln] with the ability to print struct values.
Note for language mavens: if a "..." function passes its argument
to another "..." function, the argument is not wrapped again. This
allows printf to call fprintf without extra manipulation. It's good
but needs to go in the spec.
This code works:
///
package main
import fmt "fmt"
import os "os"
type T struct { s string; a, b int }
func main() {
P := fmt.Printer();
P.printf("%s = %d with float value %.4f\n", "hi there", 7, 123.456);
P.println("hi there", 7, 123.456);
P.fprintf(os.Stdout, "%s = %d with float value %.4f\n", "hi there", 7, 123.456);
P.println(T{"x", 7, 234}, "end of struct", 8, 9);
}
R=rsc
DELTA=28 (7 added, 3 deleted, 18 changed)
OCL=18321
CL=18324
|
|
signature is absent from object file.
R=rsc
DELTA=18 (18 added, 0 deleted, 0 changed)
OCL=18315
CL=18323
|
|
R=r
OCL=18322
CL=18322
|
|
R=r
OCL=18319
CL=18319
|
|
1) bool wasn't handled (added '%t' for 'truth').
2) float64 had a typo.
TBR=rsc
DELTA=11 (10 added, 0 deleted, 1 changed)
OCL=18314
CL=18318
|
|
R=r
OCL=18317
CL=18317
|
|
R=r
OCL=18316
CL=18316
|
|
R=r
DELTA=51 (51 added, 0 deleted, 0 changed)
OCL=18283
CL=18290
|
|
R=rsc
DELTA=14 (9 added, 0 deleted, 5 changed)
OCL=18281
CL=18281
|
|
R=r
DELTA=44 (2 added, 15 deleted, 27 changed)
OCL=18270
CL=18273
|
|
R=rsc
DELTA=3 (2 added, 0 deleted, 1 changed)
OCL=18232
CL=18232
|
|
R=rsc
DELTA=86 (77 added, 0 deleted, 9 changed)
OCL=18201
CL=18203
|
|
R=ken
OCL=18202
CL=18202
|
|
R=r
DELTA=13 (5 added, 0 deleted, 8 changed)
OCL=18190
CL=18192
|
|
R=ken
OCL=18180
CL=18180
|
|
R=ken
OCL=18179
CL=18179
|
|
distribute tag across multiple names.
R=ken
OCL=18178
CL=18178
|
|
R=ken
OCL=18176
CL=18176
|
|
R=r
OCL=18166
CL=18166
|
|
R=r
OCL=18095
CL=18095
|
|
R=r
OCL=18081
CL=18081
|
|
R=ken
OCL=18079
CL=18079
|
|
R=r
OCL=18077
CL=18077
|
|
R=rsc
DELTA=9 (6 added, 0 deleted, 3 changed)
OCL=18072
CL=18075
|
|
fmt still to come
R=rsc
DELTA=168 (141 added, 19 deleted, 8 changed)
OCL=18064
CL=18071
|
|
R=r
DELTA=7 (0 added, 0 deleted, 7 changed)
OCL=18050
CL=18069
|
|
R=r
DELTA=6 (0 added, 0 deleted, 6 changed)
OCL=18044
CL=18068
|
|
R=r
DELTA=202 (60 added, 24 deleted, 118 changed)
OCL=18029
CL=18038
|
|
R=r
OCL=18030
CL=18030
|
|
R=r
OCL=18027
CL=18027
|
|
R=r
OCL=18026
CL=18026
|