File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ more on errors:
8080 + print warning when bind statement is repeated
8181 - provide binding from the command-line (but how)
8282
83+ - reflection: allow assigning BCL int to Go float64, with an implicit conversion
84+
8385+ parse block names as idents and reuse them in bind statement
8486 - make it an option (possibly default)
8587
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ func copyBlock(v reflect.Value, block Block) error {
121121 }
122122
123123 if st , bt := f .Type , vx .Type (); ! bt .AssignableTo (st ) {
124+ // todo: implicit conversion of a BCL int to Go float64
124125 return fmt .Errorf (
125126 "type mismatch for the mapped field: struct.%s has %s, block.%s has %s" ,
126127 f .Name , st , name , bt ,
You can’t perform that action at this time.
0 commit comments