Use Method instead of Function where able

This commit is contained in:
Michael B. Gale
2022-12-08 11:21:49 +00:00
parent 416ed57583
commit 07041bb659

View File

@@ -42,14 +42,14 @@ class OpenFileFun extends Function {
/**
* The `os.File.Close` function.
*/
class CloseFileFun extends Function {
class CloseFileFun extends Method {
CloseFileFun() { this.hasQualifiedName("os.File", "Close") }
}
/**
* The `os.File.Sync` function.
*/
class SyncFileFun extends Function {
class SyncFileFun extends Method {
SyncFileFun() { this.hasQualifiedName("os.File", "Sync") }
}