compiler: generate methods names with lowercased first letter
Methods names from debuginfo should match methods names from manifest. Original method names are stored in ID field.
This commit is contained in:
parent
3c170271c4
commit
9456f729be
3 changed files with 13 additions and 7 deletions
|
@ -32,7 +32,7 @@ func TestCompiler(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
m := map[string]bool{}
|
||||
for i := range di.Methods {
|
||||
m[di.Methods[i].Name.Name] = true
|
||||
m[di.Methods[i].ID] = true
|
||||
}
|
||||
require.Contains(t, m, "Func1")
|
||||
require.Contains(t, m, "Func2")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue