Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #1593
Closed
Open
Issue created Apr 24, 2001 by Peter Bortas@zinoOwner

"Got" type wrong in type check

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1593

Reported by Martin Stjernholm mast@roxen.com

When starting a cvs current Roxen 2.2 with Pike 7.2 I get the following error when Roxen tries to open an ftp port:

protocols/ftp.pike:2968:Bad argument 2 to `<.
protocols/ftp.pike:2968:Expected: function(program | type, program | type,
program | type ... : int(0..1)) | function(string ... : int(0..1)) |
function(float | int ... : int(0..1)) | !function(!(mixed | object) ... :
mixed) & function(mixed ... : int(0..1))
protocols/ftp.pike:2968:Got     : function(int, function(string ... :
string) | function((0=int | float) ... : 0) | !function(string ... : mixed)
& !function(int | float ... : mixed) & !function(!(object | mixed) ... :
mixed) & function(mixed ... : mixed) : void | mixed)
protocols/ftp.pike:2968:Bad argument 2 to `>.
protocols/ftp.pike:2968:Expected: function(program | type, program | type,
program | type ... : int(0..1)) | function(string ... : int(0..1)) |
function(float | int ... : int(0..1)) | !function(!(mixed | object) ... :
mixed) & function(mixed ... : int(0..1))
protocols/ftp.pike:2968:Got     : function(int, function(string ... :
string) | function((0=int | float) ... : 0) | !function(string ... : mixed)
& !function(int | float ... : mixed) & !function(!(object | mixed) ... :
mixed) & function(mixed ... : mixed) : void | mixed)
protocols/ftp.pike:2990:Must return a value for a non-void function.
protocols/ftp.pike:3010:Must return a value for a non-void function.
protocols/ftp.pike:3020:Must return a value for a non-void function.
protocols/ftp.pike:3047:Must return a value for a non-void function.
protocols/ftp.pike:3062:Must return a value for a non-void function.
protocols/ftp.pike:3727:Class definition failed.
Assignee
Assign to
Time tracking