Re: [PATCH] blox: Fix fall-out from calling >>#initialize as part of new

Holger Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
> On 24 Jan 2016, at 22:09, [email protected] wrote:
> 
> 
> 
> It's not that there is a broken function, just that there's no obvious
> way to create methods. There's an "add" option for classes but I'm not
> seeing any way to add a method. If I try editing in the lower pane and
> "Accept" it asks me if I want to discard my changes and when I say "no"
> it puts me back to editing mode again but doesn't seem to actually make
> any changes.


If you select any "category" it gives you a dummy method you can alter
and then use "Accept" to save it. The issue I see is that the template
they provide is not correct syntax.

method: selectors and: arguments
    "Comment describing purpose and answered value."
    | temporary variables |
    statements


should be (the brackets):

method: selectors and: arguments [
    "Comment describing purpose and answered value."
    | temporary variables |
    statements
]


that is the "new" fileout syntax of GNU Smalltalk. Would you like to
try to fix that, create a GNU changelog and use git format-patch to send
the patch?



> I'm on Gentoo Linux AMD FX(tm)-4100 x86_64 with gcc 4.8.5
> 
> make is issuing:
> 
> gcc -DHAVE_CONFIG_H -I.  -I./libgst -I./lib-src -DCMD_XZIP="\"/usr/bin/zip\"" -DCMD_INSTALL="\"/usr/bin/install -c\"" -DCMD_LN_S="\"ln -s\"" -DDEFAULT_EXECUTABLE=\""/usr/local/bin/gst"\"   -g -O2 -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wno-switch -Wwrite-strings -Wno-strict-aliasing -fno-gcse -fstrict-aliasing  -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c


Any special gentoo release or flags? Is gtk-2.0 installed?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.