bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #47688] Macros involving integer literals outside the ra


From: Nathan S.
Subject: [Bug-kawa] [bug #47688] Macros involving integer literals outside the range of int cause "no method to construct ClassType gnu.math.IntNum"
Date: Wed, 13 Apr 2016 18:18:41 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?47688>

                 Summary: Macros involving integer literals outside the range
of int cause "no method to construct ClassType gnu.math.IntNum"
                 Project: Kawa
            Submitted by: nathans
            Submitted on: Wed 13 Apr 2016 06:18:40 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Compile-time exception
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Macros involving literals outside the range of int cause compilation to fail
with "no method to construct ClassType gnu.math.IntNum".  This bug only
happens when compiling code, not when running an interactive shell.

Steps to reproduce:

1. Create a file named test.scm consisting only of the text:

(define-syntax this-macro-causes-compilation-to-fail
  (syntax-rules ()
    ((_ x) (+ x 2147483648))))


2. Execute the command:

kawa -C test.scm




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 13 Apr 2016 06:18:40 PM GMT  Name: test.scm  Size: 103B   By:
nathans

<http://savannah.gnu.org/bugs/download.php?file_id=36919>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47688>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]