-
-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More tests + do not mistake the 'self' string for the #self symbol
- Loading branch information
Showing
6 changed files
with
176 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
" | ||
I am an error indicating that an unsupported untyped literal has been used. | ||
I contain the unsupported literal so the user can query me. | ||
" | ||
Class { | ||
#name : #FFIUnsupportedUntypedLiteral, | ||
#superclass : #Error, | ||
#instVars : [ | ||
'literal' | ||
], | ||
#category : #'UnifiedFFI-Exceptions' | ||
} | ||
|
||
{ #category : #signalling } | ||
FFIUnsupportedUntypedLiteral class >> signalFor: aLiteral [ | ||
|
||
self new | ||
literal: aLiteral; | ||
signal | ||
] | ||
|
||
{ #category : #accessing } | ||
FFIUnsupportedUntypedLiteral >> literal [ | ||
^ literal | ||
] | ||
|
||
{ #category : #accessing } | ||
FFIUnsupportedUntypedLiteral >> literal: anObject [ | ||
literal := anObject | ||
] |