| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Any is the preferred over interface{} now in Go.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add handling of user types that has underlying primitive types.
Consider:
type T int
var obj interface{} = T(42)
T has kind reflect.Int. But if we serialize obj as just "42",
it will be turned into plain int.
Detect this case and serialize obj as "T(42)".
|
| |
|
|
|
| |
Make the test actually test what we expect
and extend slightly for few interesting cases.
|
| |
|
|
|
|
|
| |
If we are going to write all values, don't write field names.
This only increases size of generated files.
The change reduces size of generated files by 5.8%
(62870496-59410354=3460142 bytes saved).
|
| |
|
|
|
|
|
| |
The part that we want from gofmt is simplify (-s).
Fix all code that needs fixing.
Update #538
|
| |
|
|
| |
Fix typos, non-canonical code, remove dead code, etc.
|
|
|
Move most of the logic from sysgen to pkg/compiler.
Update #217
|