[Glass] Compiling a method on GS

BrunoBB smalltalk at adinet.com.uy
Mon Feb 17 12:18:54 PST 2020


Hi,

GS version: 3.4.1
Behavior>>compile:classified:
   "Returns nil, or a selector Symbol, or signals a CompileError"

But it compile source with compilation errors and does no signal any
CompileError.
Example:
[Object
compileMethod: 
'compilationError
  ^ self2 add: self3'
category: 'other'
using: GsSession currentSession symbolList]
on: CompileError do: [:ex | ex halt].

This create the method that is not compilable and does not signal anything.

Or the method has a bug or the comments is wrong ?

I'm polishing (https://github.com/jgfoster/Jade/issues/243) to avoid non
compilable source to be introduced in the Rewrite Tool.

Jade Rewrite tool screenshoot here
<https://user-images.githubusercontent.com/4719282/73143716-4f5f7600-407c-11ea-9cbb-05e71949a401.png>  

regards,
bruno



--
Sent from: http://forum.world.st/GLASS-f1460844.html


More information about the Glass mailing list