samlang.errors.IllegalMethodDefinitionError.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of samlang Show documentation
Show all versions of samlang Show documentation
Sam's Programming Language
package samlang.errors
import samlang.parser.Position
class IllegalMethodDefinitionError(name: String, position: Position) : CompileTimeError.WithPosition(
reason = "It is illegal to define methods inside util module $name.",
position = position
)