Allow arbitratry constructor names

This commit is contained in:
konstin
2018-04-14 16:41:41 +02:00
committed by Alex Crichton
parent 32ab5a5644
commit e87b32fb22
4 changed files with 26 additions and 17 deletions

View File

@ -54,7 +54,7 @@ pub struct ImportType {
pub struct Export {
pub class: Option<String>,
pub method: bool,
pub constructor: bool,
pub constructor: Option<String>,
pub function: Function,
}