Skip to content

Releases: goplus/gogen

Release v1.6.3

12 Sep 02:14
Compare
Choose a tag to compare

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

07 Sep 02:11
Compare
Choose a tag to compare

new features:

  • pkg.NewConstDecl: support iota
  • unsafe.Sizeof
  • unsafe.Alignof
  • unsafe.Offsetof
  • unsafe.Add
  • unsafe.Slice

changes:

Release v1.5.1

04 Sep 10:32
Compare
Choose a tag to compare

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

31 Aug 19:43
Compare
Choose a tag to compare

new features:

Release v1.3.1

27 Aug 23:14
Compare
Choose a tag to compare

changes:

  • load cached bugfix: should call Complete after NewInterfaceType.

Release v1.3.0

24 Aug 15:09
Compare
Choose a tag to compare

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

19 Aug 02:55
Compare
Choose a tag to compare

new features:

Release v1.1.3

14 Aug 23:08
Compare
Choose a tag to compare

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

11 Aug 22:55
Compare
Choose a tag to compare

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

09 Aug 11:29
Compare
Choose a tag to compare

new features:

  • support generating testing files.
  • TestContract/TestBigIntVarInit

changes:

  • remove getUnderlying
  • rational var init bugfix (see TestBigIntVarInit)