Spracherkennung für: .tst vermutete Sprache: Masm {Masm[100] Apollo[50] Lisp[50]} [Methode: maximale Elemente, drei Dimensionen]
# Installing an operation as a method for itself is forbidden (now, at least;
# it used to lead to a segfault if you ever managed to trigger that "method")
# Fixes GitHub issues #1286 and #4340.
gap> foo := NewOperation("foo", [IsObject]);;
gap> InstallMethod(foo, [IsInt], foo);
Error, Cannot install an operation as a method for itself
[Dauer der Verarbeitung: 0.3 Sekunden, vorverarbeitet 2026-10-25]