Add support for fully inline functions in methodmaps.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
methodmap ThisNameIsReallyLongWowItsVeryLong {
|
||||
public ThisNameIsReallyLongWowItsVeryLong() {
|
||||
}
|
||||
}
|
||||
|
||||
public main() {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
fully-qualified name "ThisNameIsReallyLongWowItsVeryLong.ThisNameIsReallyLongWowItsVeryLong" is too long, would be truncated to "ThisNameIsReallyLongWowItsVeryLong.ThisNameIsReallyLongWowItsVe"
|
||||
@@ -0,0 +1,13 @@
|
||||
methodmap Crab {
|
||||
public Crab(n) {
|
||||
return Crab:n;
|
||||
}
|
||||
public int Value() {
|
||||
return _:this;
|
||||
}
|
||||
};
|
||||
|
||||
public main() {
|
||||
new Crab:crab = Crab(5);
|
||||
return crab.Value();
|
||||
}
|
||||
Reference in New Issue
Block a user