Lîm Tsú-thuàn

Results 188 comments of Lîm Tsú-thuàn
trafficstars

In the log we can see, ``` [EOF Rule] File ".clang-tidy" has lint errors [EOF Rule] File ".clang-tidy" lint errors fixed ``` However, there are no changes are proposed to...

> I am not able to make this lint run only on changed modified files. I believe you can use below command to get files ```sh git diff --name-status |...

We are saying a CI that build with flag `-DWASMEDGE_BUILD_STATIC_LIB=ON`.

I think then the issue is no need now.

From my understanding, embedded struct is a field that got an implicit name, so you insert reference to A and give a generated name.

I believe you can use the "variable" in Go as instance of "type"

```go m := ir.NewModule() foo := m.NewTypeDef("foo", types.NewStruct(types.I32)) _ = m.NewTypeDef("bar", types.NewStruct(foo)) main := m.NewFunc("main", types.I32) { entry := main.NewBlock("") entry.NewRet(constant.NewInt(types.I32, 0)) } fmt.Println(m) ``` output ```llvm %foo = type...

You can also use `types.NewPointer(foo)` to get: ```llvm %foo = type { i32 } %bar = type { %foo* } define i32 @main() { 0: ret i32 0 } ```