Releases: goplus/gogen
Releases · goplus/gogen
Release v1.6.3
new features:
- func copy(dst []byte, src string) int
- Gop_Pos (unary +)
- range over string
- complex/real/imag: support constant
changes:
- unsafe.Sizeof, unsafe.Alignof: check type
- toObject: support constant
- unsafe instr bugfix: should import unsafe package
- indexing: support untyped string
- AssignableConv: use getElemTypeIf to support untyped float => int
- binaryOp: support shift untyped float
- getElemTypeIf: support untyped float
- ifStmt/forStmt body scope
- TestPersistVal: support complex
- TestPrintlnPrintln
- TestNamedFuncAsParam
- TestErrFuncCall
- TestErrTypeSwitch
- InitType bugfix: SetUnderlying
- fix goplus/gop#792
- fix goplus/gop#796
- fix goplus/gop#797
- fix goplus/gop#799
- fix goplus/gop#800
- fix goplus/gop#801
Release v1.5.5
new features:
- pkg.NewConstDecl: support iota
- unsafe.Sizeof
- unsafe.Alignof
- unsafe.Offsetof
- unsafe.Add
- unsafe.Slice
changes:
- checkParenExpr in binary operator
- UnderscoreFuncAndMethod
- unsafe.Sizeof, unsafe.Offsetof are constants (TODO: unsafe.Offsetof is also a constant)
- fix goplus/gop#783
- fix goplus/gop#784
- fix goplus/gop#785
- fix goplus/gop#786
- fix goplus/gop#788
- fix goplus/gop#790
Release v1.5.1
changes:
- pkg.NewVarEx
- cb.Block .. End
- fix goplus/gop#768
- fix goplus/gop#769
- fix goplus/gop#770
- fix: kindsInterger add uint64
- fix: recv chan type check types.named
- fix: forRangeStmt.getKeyValTypes check named
- fix: boundType check types.Slice is named
- fix: ValueDecl.endInit bugfix: scope error; codeErrorTest: TestErrConst/Var
- fix goplus/gop#774 - type assert: checkInterface
- TestErrTypeAssert
- TestEnsureLoaded; AssignableConv bugfix: ensureLoaded V, T
- support if..else if
Release v1.3.7
new features:
- structFieldType: support embedded
- bugfix: struct/interface method call (goplus/gop#757)
- bugfix: struct.field (goplus/gop#767)
Release v1.3.1
changes:
- load cached bugfix: should call Complete after NewInterfaceType.
Release v1.3.0
new features:
- toStructType: support Embedded
- cb.Member support MemberVal & MemberRef
- cb.InternalStack (only for internal use)
changes:
- use pkg.go.dev badge instead of godoc
- NewType/AliasType support pos
Release v1.2.6
new features:
- packages.Load persist cache (goplus/gop#748)
Release v1.1.3
new features:
- cfg.LoadNamed: support delay-loaded named type
- pkg.MarkForceUsed. see TestImportForceUsed
- pkg.NewType/AliasType bugfix: should insert into global scope
changes:
- cb.Member debug
- remove DbgFlagPanicTesting
v1.0.8
new features:
- for range support UDT (see TestForRangeUDT/TestForRangeUDT2/TestForRangeUDT3/TestForRangeUDT4/TestForRangeUDT5)
- import Go+ packages (GopPackage = true): load overload functions & methods
- support to call overload methods (NewOverloadMethod/CheckOverloadMethod)
- cb.Get(idx)
- SetDebug adds flag DbgFlagWriteFile
- Func.End use toNormalizeSignature to normalize AutoParams (created by pkg.NewAutoParam).
- toNormalize support unboundType
- SetInTestingFile return old value
- pkg.InTestingFile()
- codeErrorTest: TestErrForRange
changes:
- LoadPkgs: log inTestingFile
- SetDebug support log
- cb.End debug
- isUnboundSignature(t) bugfix
- pkg.big() bugfix
Release v0.9.51
new features:
- support generating testing files.
- TestContract/TestBigIntVarInit
changes:
- remove getUnderlying
- rational var init bugfix (see TestBigIntVarInit)