-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes the information displayed by TraceMethods and by ApplicableMethod much more useful in many case, which resolves #2239. For example, consider this method for `AsList`, installed in coll.gi: InstallMethod( AsList, "for collections that are constant time access lists", [ IsCollection and IsConstantTimeAccessList ], Immutable ); With GAP 4.8, no location information is shown at all: gap> TraceMethods(AsList); AsList("abc");; #I AsList: for collections that are constant time access lists With GAP 4.9 / master, the location where the method (i.e., the underlying function) was defined is shown, which already does the job in many cases, but not here: gap> TraceMethods(AsList); AsList("abc");; #I AsList: for collections that are constant time access lists at src/objects.c:fail With this PR, we get this (note that instead of GAPROOT, the actual path is printed) gap> TraceMethods(AsList); AsList("abc");; #I AsList: for collections that are constant time access lists at GAPROOT/lib/coll.gi:302
- Loading branch information
Showing
10 changed files
with
196 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.