Comments (3)
This seems to be related to the /lb (late binding) compiler option. When that option is disabled, then the compiler reports:
error XS0117: 'object' does not contain a definition for 'Foo'
With the option enabled, the compiler generates the following code
__InternalSend(SELF, "Foo");
from xsharppublic.
The reason for the problem is that for variables of type OBJECT or USUAL we will generate a late bound method call.
In this case, SUPER is also of type OBJECT, so that is why the compiler generates this late bound call. I will add an exception for this particular situation.
from xsharppublic.
Related Issues (20)
- VS Integration: Namespace content not showing
- Missing constructor parameter list lint on generic class HOT 2
- LOOP and EXIT keywords cause auto indent to fail
- VS editor exception HOT 3
- Autocompletion replaces .or. with .OrderSpec. HOT 3
- Internal Compiler Error with DO CASE statement missing CASE/OTHERWISE HOT 5
- AdsSQLServer Error 7200 when parameters are used. HOT 5
- Problem opening form with event
- Preprocessor bug (XBase++ dialect) HOT 3
- Incompatibility with Object.ToString() HOT 11
- Function AAdd() doesn't support third parameter (Xbase++ dialect) HOT 2
- Preprocessor bug in WP (XBase++ dialect) HOT 7
- The preprocessor puts an excess parenthesis (Xbase++ dialect) HOT 2
- X# compiler doesn't support init/exit procedures (Xbase++ dialect) HOT 2
- Some questions about migrating from Xbase++ HOT 2
- PRG-Filenames in Visual Studio HOT 3
- Failed to emit Module error with CONST class field missing value assignment HOT 2
- The global MEMVARs hide local variables HOT 3
- Compiler does not warn about incorrect reference passing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xsharppublic.