The heuristic to generate a package name identifier was incorrect. Now for binary packages, the package identifier is obtained by a symbol, generated by extract, which contains the string argument of package statement in source file. This should ensure an always correct default package identifier. Fixes #1095.
25 lines
652 B
Go
25 lines
652 B
Go
// Code generated by 'yaegi extract encoding/ascii85'. DO NOT EDIT.
|
|
|
|
// +build go1.16
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"encoding/ascii85"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["encoding/ascii85/ascii85"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"Decode": reflect.ValueOf(ascii85.Decode),
|
|
"Encode": reflect.ValueOf(ascii85.Encode),
|
|
"MaxEncodedLen": reflect.ValueOf(ascii85.MaxEncodedLen),
|
|
"NewDecoder": reflect.ValueOf(ascii85.NewDecoder),
|
|
"NewEncoder": reflect.ValueOf(ascii85.NewEncoder),
|
|
|
|
// type definitions
|
|
"CorruptInputError": reflect.ValueOf((*ascii85.CorruptInputError)(nil)),
|
|
}
|
|
}
|