Skip to content

Syntax warnings when RepnDecomp is loaded without IO #23

@wilfwilson

Description

@wilfwilson

Currently, various warnings are given when RepnDecomp is loaded without IO:

 ┌───────┐   GAP 4.16dev-3-g3962c9c built on 2025-09-04 17:40:31+0100
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: x86_64-apple-darwin24-default64-kv10
 Configuration:  gmp 6.3.0, GASMAN, readline
 Loading the library and packages ...
 Packages:   GAPDoc 1.6.7.dev, PrimGrp 4.0.0, SmallGrp 1.5.4, TransGrp 3.6.5
 Try '??help' for help. See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("repndecomp" :  OnlyNeeded);
───────────────────────────────────────────────────────────────────────────────────────────────────
Loading GRAPE 4.9.3 (GRaph Algorithms using PErmutation groups)
by Leonard H. Soicher (https://webspace.maths.qmul.ac.uk/l.h.soicher/).
Homepage: https://gap-packages.github.io/grape
Report issues at https://github.com/gap-packages/grape/issues
───────────────────────────────────────────────────────────────────────────────────────────────────
Syntax warning: Unbound global variable in /Users/Wilf/gap/pkg/repndecomp/lib/serre.gi:356
        irred_decomp := ParListByFork(irreps, do_decompose, rec(NumberJobs := parallel));
                        ^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /Users/Wilf/gap/pkg/repndecomp/lib/serre.gi:358
        irred_decomp := ParListByFork(irreps, do_decompose, rec(NumberJobs := 4));
                        ^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /Users/Wilf/gap/pkg/repndecomp/lib/serre.gi:402
                irred_decomp := ParListByFork(irreps, do_decompose, rec(NumberJobs := parallel));
                                ^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /Users/Wilf/gap/pkg/repndecomp/lib/serre.gi:406
                irred_decomp := ParListByFork(irreps, do_decompose, rec(NumberJobs := 4));
                                ^^^^^^^^^^^^^
───────────────────────────────────────────────────────────────────────────────────────────────────
Loading RepnDecomp 1.3.0 (Decompose representations of finite groups into irreducibles)
by Kaashif Hymabaccus (https://kaashif.co.uk).
maintained by:
   Kaashif Hymabaccus (https://kaashif.co.uk) and
   Dmitrii Pasechnik (http://pasechnik.info).
Homepage: https://gap-packages.github.io/RepnDecomp
Report issues at https://github.com/gap-packages/RepnDecomp/issues
───────────────────────────────────────────────────────────────────────────────────────────────────
true

However, the package nevertheless loads successfully, and the test files run properly, without IO being loaded.

I'd suggest doing something to get rid of these syntax warnings. I'll make a pull request with a hack; there might be better options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions